Simulation Manager - Changing the X-axis
显示 更早的评论
Hi,
I wonder if anyone can help? I would like to change the x-axis in the Simulation Manager from Runid to an angles (0 to 180 in 5 degree steps (37 in total)). Is there a simple way to do this? I don't seem to be able to locate a parameter in the model, do I need to set something up?
Thanks, Andy

采纳的回答
更多回答(1 个)
Divyanshu
2024-1-4
0 个投票
Hi Andy,
The easiest way to Control the label of x-axis and what data should be displayed on the x-axis, is by setting the appropriate fields. You can find the corresponding fields under "Plot Properties".
Please refer the following documentation for further details:
Hope it helps!
2 个评论
Andy
2024-1-4
Hi,
You can make use of 'setVariable' function. Please refer the following example for better understanding about the usage of this function:
And for further details on 'setVariable' function please refer the following documentation:
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink Environment Customization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!