Access all rows of structure

36 views (last 30 days)
RuiQi
RuiQi on 5 Jul 2016
Answered: Walter Roberson on 5 Jul 2016
I have a train structure with the contents shown below. How do i extract all of the objective values column ? I tried train.objective but it only gives me the 1st value. I tried train(1:end).objective but it gives me 1 value only. Help thanks

Accepted Answer

Walter Roberson
Walter Roberson on 5 Jul 2016
[train.objective]

More Answers (0)

Categories

Find more on Structures in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!