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 Kommentar

Jagadeesh Konakalla
Jagadeesh Konakalla am 29 Okt. 2020
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Produkte

Version

R2020a

Gefragt:

am 20 Mai 2020

Community Treasure Hunt

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

Start Hunting!

Translated by