How to see the values of the Parameters defined as variables in the Examples given by Simulink?
1 view (last 30 days)
Show older comments
Guanwei Zeng on 15 Mar 2021
Commented: Guanwei Zeng on 25 Mar 2021
Hi, reacently I donwnload a Simulink Example(https://www.mathworks.com/help/releases/R2020a/aeroblks/Electrical-Component-Analysis-Hybrid-and-Electric-Aircraft.html) which I need to study. However, the parameters in this Example is defined as variations(as the picture below).
And some variations(like power.vref) can't be found in workspace or Mask>>View Base Mask.
Could anyone tell me how t find the values of these variations?
Uday Pradhan on 18 Mar 2021
Edited: Uday Pradhan on 18 Mar 2021
"power" is struct with 7 fields, you can see the values of these fields as such (given that power variable exists in the base workspace):
>> power % MATLAB command line
struct with fields:
More Answers (0)
Find more on Electrical Sensors 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!