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 ExchangeBlock 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