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 Comment

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.

Sign in to comment.

Answers (0)

Products

Release

R2020a

Asked:

on 20 May 2020

Community Treasure Hunt

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

Start Hunting!