Level-2 M-file S-Function

조회 수: 1 (최근 30일)
Diana Acreala
Diana Acreala 2012년 7월 16일
Hello all,
I need to delete one of the 25 parameters of a Level-2 M-file S-Function in Simulink. More exactly the 16th. I did all the changes in the Mask Editor and I edited the corresponding m file, meaning that after deleting the 16th parameter, I moved the 17th parameter on the 16th position and so on. So finally I have 24 parameters.
After doing this I still get errors about the 25th parameter (which normally does not exist)
What am I doing wrong? Thanks in advance! Bye!

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2012년 7월 16일
Perhaps you have block.NumDialogPrms set to 25 in your MATLAB S-function code?
  댓글 수: 2
Diana Acreala
Diana Acreala 2012년 7월 17일
No, I made sure that everything is changed also in the MATLAB S-function code..
Kaustubha Govind
Kaustubha Govind 2012년 7월 17일
Could you post the exact error (and stack trace if available)? That will give us a better idea of what might be causing it.

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

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by