Question regarding Matlab level 2 S function

2 visualizaciones (últimos 30 días)
Sameer el 2 de Sept. de 2014
Comentada: Sameer el 3 de Sept. de 2014
Hello all
I have written a S function and it involves the use of approximatly 15 dialog parameters which are to be passed, as I have written the code so I know the sequence of the parameters but if another person wants to use it then it becomes diffcult to pass in the same order....I would like to know is there any way by which I can buid a parameter box so that each parameter is defined in a seperate line.
right know its being passed as: a,b,c,d.... I want
Value (displayed/asking): b
and so on....
Is it possible? If yes then please guide how can I acheive this.

Respuesta aceptada

Kaustubha Govind
Kaustubha Govind el 2 de Sept. de 2014
Yes, you can do this by Masking your S-function block. You can then add this masked block to a library that you can give your users.
  3 comentarios
Titus Edelhofer
Titus Edelhofer el 3 de Sept. de 2014
Hi Sameer,
but your second description indicates even stronger that masking your s-function is the correct way to go. Give it a try: mask the s-function, add parameters on the parameters pane, and since you know the order, you can pass those parameters from the mask to the s-function ...
Sameer el 3 de Sept. de 2014
Got it...Thanks

Iniciar sesión para comentar.

Más respuestas (0)


Más información sobre Subsystems en Help Center y File Exchange.



Community Treasure Hunt

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

Start Hunting!

Translated by