copy a first block of structure to an array
조회 수: 1 (최근 30일)
I am a beginner to MATLAB so bear with me.
I have a 1*n structure, and in each of the structure element I have m*3 elements. I want to store the first structure element to a new array. Kindly help me with this problem.
Javier 2012년 12월 4일
편집: Javier 님. 2012년 12월 4일
Im going to create a structure to try to understand you better.
Now Struc1 is an structure and has 3 elements. If want to store the struck1.A data to a new array, just define the array and make it equal to the element of the structure. For example.
Hope this help. Best regards and welcome to Matlab community