Hi,
I wanted to create a Mask for s-function, with dropdown list parameter on Masked block & the parameter value should able to pass to the s-function name.
for example: i wanted to create a mask with dropdown list, x,y & z.
when i select the X, then the s-function should called with 'x' name ( look under mask).

답변 (1개)

Raghunandan V
Raghunandan V 2019년 6월 6일

0 개 추천

Hi,
The easier thing would be to have if else statement in the C-code and whose condtions are dependent on a input

카테고리

도움말 센터File Exchange에서 Block and Blockset Authoring에 대해 자세히 알아보기

제품

릴리스

R2012a

질문:

2019년 5월 26일

답변:

2019년 6월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by