Simscape: change parameters of the block 'grid surface' dynamically to simulation time
2 次查看(过去 30 天)
显示 更早的评论
Dear all,
my question would be, if it is possible in Simscape to change the parameters (x, y, z) in a "grid surface" block dynamically with the simulation in the mechanics explorer?
I have put the "grid surface" block in a mask and made a callback function, that should trigger, if the parameter will be changed, but even if I change the parameter in the workspace, the change will only effect in the initialization and not in the time of the simulation.
Bigger picture: I want to simulation waves and thought, that this could maybe be possible with a grid surface and a point cloud.
Thanks everyone and greetings from Austria.
Marco
0 个评论
采纳的回答
Rijuta
2023-5-17
Hi Marco,
In Simscape, the values of parameters in a "grid surface" block cannot be changed dynamically during the simulation using the Mechanics Explorer or by modifying the parameters in the workspace. The values set for the parameters of the "grid surface" block are fixed at the start of the simulation and remain constant throughout the simulation.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simscape Multibody 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!