"The expected number of dialog parameters of 'untitled/Level-2 M-file S-Function' (3) does not match the number of dialog parameters specified in the M-S-Function parameters dialog box (0)."
how do i resolve this error while making an s function to perform integration of a ploynomial in simulink?

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2012년 2월 16일

0 개 추천

In your S-function file, you probably have a line that reads like this:
block.NumDialogPrms = 3;
This means that the block expects 3 parameter values to be supplied. Now, double click on the block 'untitled/Level-2 M-file S-Function' and look at the "Parameters" text box - you need to provide 3 comma-separated values here.

댓글 수: 1

abdelkebir skander
abdelkebir skander 2018년 8월 30일
what about this one please ! The expected number of dialog parameters of 'test/Arduino Analog Read' (0) does not match the number of dialog parameters specified in the MATLAB S-Function parameters dialog box (3)

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

카테고리

도움말 센터File Exchange에서 Block and Blockset Authoring에 대해 자세히 알아보기

태그

질문:

2012년 2월 16일

댓글:

2018년 8월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by