during the simulation following error is occured " the number of defined parameters, 11, does not match the number of parameters on the dialog which is 10"how can i remove this error?

For S-function 'sfun_spssw_discc', the number of defined parameters, 11, does not match the number of parameters on the dialog of 'Power_PMSM_Drive_Diagram_complete/powergui/EquivalentModel1/State-Space', 10. These two values must be identical.

 採用された回答

Ryan G
Ryan G 2013 年 3 月 26 日
It sounds like you defined 11 parameters in the s-function and only put 10 in the dialog. You need to look at the s-function to determine which parameter you are missing and make sure you input your parameters in the right order.

その他の回答 (3 件)

Hi,
Using SLPS for orcad I'm getting the error:
For S-function 'slpsblk', the number of defined parameters, 0, does not match the number of parameters on the dialog of 'test1r2012bw32/SLPS/S', 11. These two values must be identical.
Inside the slps block I se the 11 parameters, [url=http://obrazki.elektroda.pl/3829826900_1372871041.jpg][img]http://obrazki.elektroda.pl/3829826900_1372871041_thumb.jpg[/img][/url]
but I don't no where else I have to config, I've been following tutorials, and the slps demos that come with orcad work.
I compare the modul parameteres dialogs(RC demo & my primitive test) and they are the same.
Thanks, Guillermo
kshama
kshama 2014 年 1 月 22 日
hii.. can this error b becoz of SLPS software? from where do i get this software?
yangfei wei
yangfei wei 2022 年 9 月 19 日
i had the same problem. complier is not intelligent enough,u can close and restart matlab to solve the problem.

カテゴリ

ヘルプ センター および File ExchangeEmbedded Coder についてさらに検索

製品

タグ

質問済み:

2013 年 3 月 26 日

回答済み:

2022 年 9 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by