Calling a functions fieldname without saying its name.
Show older comments
Hi there,
I have a structure called 'AerodynamicData.Cx.ActuatorName' where x is a wildcard character and ActuatorName is a wildcard phrase.
For example, I have structure called 'AerodynamicData'. This structure has two fields called Cm and Cp. Inside Cm there are two fields. Inside Cp there is one field.
AerodynamicData.Cm.BodyFlap
AerodynamicData.Cm.Speedbrake
AerodynamicData.Cp.Aileron
Possible structures^^
Now my question is how do I loop through all the structures that have this naming convention >> 'AerodynamicData.Cx.ActuatorName'
Accepted Answer
More Answers (0)
Categories
Find more on SimEvents 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!