omputing cost function</span>
0156 list_function=cell(max([OsteoArticularModel.KinematicsCut]),1);
0157 <span class="keyword">for</span> c=1:max([OsteoArticularModel.KinematicsCut])
0158     list_function{c}=str2func(sprintf(<span class="string">'f%dcut'</span>,c));
0159 <span class="keyword">end</span>
0160 list_function_markers=cell(numel(list_markers),1);
0161 <span class="keyword">for</span> m=1:numel(list_markers)
0162     list_function_markers{m}=str2func(sprintf([list_markers{m} <span class="string">