use variable in not Evaluate mask

Hey there,
I want to create a subsustem with a mask, in that sub system I use the ROS publisher block, it's topic paremter is set to not evaluate, like show in the picture.
I want to use a mask parameter of my new subsystem to set the topic of the ros block, but I can use a variable, since it doesn't get evaluated, is there any other way to achive what I'm trying?

1 个评论

You can use the promote feature in Simulink to do this. For more information refer to the following link https://www.mathworks.com/help/simulink/ug/parameter-promotion.html.
Let me know if you need further help.

请先登录,再进行评论。

回答(0 个)

类别

产品

版本

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by