5151% []);
5252
5353
54- res_anatAttach_local
55- res_anatAttach_ground
56- res_effectAttach_ground
57- res_effectAttach_local
58-
59- res_anatAttach_local_val = sto2Mat(fullfile(validated_results_folder ,' LOCAL_ANATOM_MuscleForceDirection_vectors.sto' ));
60-
61- res_anatAttach_ground .rowheaders
62- res_effectAttach_ground
63- res_effectAttach_local
54+ % res_anatAttach_local
55+ % res_anatAttach_ground
56+ % res_effectAttach_ground
57+ % res_effectAttach_local
58+ %
59+ % res_anatAttach_local_val = sto2Mat(fullfile(validated_results_folder,'LOCAL_ANATOM_MuscleForceDirection_vectors.sto'));
60+ %
61+ % res_anatAttach_ground.rowheaders
62+ % res_effectAttach_ground
63+ % res_effectAttach_local
6464% --------------------------------------------------------------------------
6565% %% test 1: simple arm26 model
6666% osimModel_name = '../_test_data/Arm26/arm26.osim';
8282%
8383%
8484% --------------------------------------------------------------------------
85- % % % test 2: gait2392 model
86- %
87- % osimModel_name = '../_test_data/gait2392/subject01.osim';
88- % IK_mot_file = '../_test_data/gait2392/subject01_walk1_ik.mot';
89- % bodyOfInterest_name = 'femur_r';
90- % bodyExpressResultsIn_name = [];
91- % effective_attachm = 'true';
92- % test_input = [];
93- %
94- % N_frame_test = 5;
95- % muscleLinesOfActionStruct = getMuscleForceDirection(osimModel_name,...
96- % IK_mot_file,...
97- % bodyOfInterest_name,...
98- % bodyExpressResultsIn_name,...
99- % effective_attachm,...
100- % 'true',...
101- % []);
85+ %% test 2: gait2392 model
86+
87+ osimModel_name = ' ../_test_data/gait2392/subject01.osim' ;
88+ IK_mot_file = ' ../_test_data/gait2392/subject01_walk1_ik.mot' ;
89+ bodyOfInterest_name = ' femur_r' ;
90+ bodyExpressResultsIn_name = [];
91+ effective_attachm = ' true' ;
92+ test_input = [];
93+
94+ N_frame_test = 5 ;
95+ muscleLinesOfActionStruct = getMuscleForceDirection(osimModel_name ,...
96+ IK_mot_file ,...
97+ bodyOfInterest_name ,...
98+ bodyExpressResultsIn_name ,...
99+ effective_attachm ,...
100+ ' true' ,...
101+ []);
0 commit comments