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

Jagadeesh Konakalla
Jagadeesh Konakalla 2020년 10월 29일
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

질문:

2020년 5월 20일

댓글:

2020년 10월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by