MATLAB: How to extract the structure array from a cell array matlab function I have a 2-cell array, each cell is a structure array. Could you please show me how to extract the structure array from each cell? Best Answer Suppose you hace cell arraydata={ struc array1 struc array2 struc array3.....}If you want to extract struc array2 then..result=data{2}so on... Related SolutionsMATLAB: Array of structures in matlab array1=1:10array2=21:30out=struct('field1', num2cell(array1),'field2',num2cell(array2)) MATLAB: Arrays http://matlab.wikia.com/wiki/FAQ#How_can_I_create_variables_A1.2C_A2.2C....2CA10_in_a_loop.3F Related QuestionHow to store cell arraysHow to create a cell array from rows of an existing cell arrayArrayHow to obtain array of strings contained in a cellArray
Best Answer