MATLAB Answers

Mask for S-function

7 views (last 30 days)
Rajesh Dyagala
Rajesh Dyagala on 26 May 2019
Answered: Raghunandan V on 6 Jun 2019
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).

  0 Comments

Sign in to comment.

Answers (1)

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

  0 Comments

Sign in to comment.

Sign in to answer this question.

Products


Release

R2012a

Translated by