![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/916224/image.png)
How to change simscape body element properties for multiple accelerated simulation.
3 次查看(过去 30 天)
显示 更早的评论
I am trying to run a simulation of an arm. The simscape model is largely defined from variables in the workspace currently.
I have code to sweep through variables at different values and run the simulation. However, as the length property of the cylindrical solid is one of the variables to be changed, I am unable to perform multiple accelerated or 'fast restart' simulations with this property being altered.
Any help is greatly appreciated.
0 个评论
回答(1 个)
Steve Miller
2022-3-6
You can set the length (and radius) of the Cylindrical Solid block to be a run-time parameter, which would allow you to vary this value when the model has Fast Restart enabled. The setting you need to change is shown below. If that drop-down menu is not visible, go to your Simulink preferences to enable it.
--Steve
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/916224/image.png)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Troubleshooting 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!