Add a new array to a strucure
Show older comments
A simple and quick question.
I have a structure A and I want to add a new array to it and the array is
X = [365 322 481 727 914 605 785 313 806 821]
I tried this
A(i).Rim = X';
But it puts all the numbers in the last row of the structure, and i want to put one number in each row. What should i do, any suggestion?
Accepted Answer
More Answers (0)
Categories
Find more on Structures in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!