simmechanics joint initial condition tunable parameter
4 次查看(过去 30 天)
显示 更早的评论
Hi,
Is it possible to configure initial conditions of joint block (e.g. initial position, velocity) as tunable parameters? I'm running the simulink model in Rapid mode. I need to configure the joint initial states as tunable parameters so that I don't have to rebuild the whole model every time I change the initial conditions.
Thanks.
0 个评论
采纳的回答
Lucien Hollins
2020-11-17
Hi,
You will need to make the run-time parameters option visible if you have never used them before. The option to switch individual parameters from compile-time to run-time is colocated with each parameter that is run-time enabled.
Note that run-time parameters are not exactly the same as tunable parameters. Some features may vary slightly from one release to another.
1 个评论
Barnaby Pine
2022-2-28
Thank you!
This answer has really helped me in my endeavours!
Took far too long for me to find this out!
Kind regards,
Barnaby Pine
更多回答(1 个)
Steve Miller
2019-4-2
Yes, you can. The initial conditions can be configured to be run-time parameters so that you can modify them between simulation runs without compiling.
--Steve
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 General Applications 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!