Question regarding Matlab level 2 S function

조회 수: 3(최근 30일)
Sameer
Sameer 2014년 9월 2일
댓글: Sameer 2014년 9월 3일
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
Amplidude(displayed/asking):a
Value (displayed/asking): b
and so on....
Is it possible? If yes then please guide how can I acheive this.
Regards

채택된 답변

Kaustubha Govind
Kaustubha Govind 2014년 9월 2일
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
Sameer
Sameer 2014년 9월 3일
Got it...Thanks

댓글을 달려면 로그인하십시오.

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by