Error: "This call-site passes more inputs to this function than it can accept."
Mostra commenti meno recenti
Hi,
I developed a new library in Simulink in which I have a Matlab function block. Within the block code I need to call other Matlab functions. Some of these functions have String input arguments (fcn('str1',str2', double..)).
I also have a Matlab model to execute the exact same thing as my Simulink library is suppose to do. When I run in Matlab the simulation is successfully done, in Simulink, on the other hand, I get errors.
The errors are related to these functions I mentioned above and I get the message: "This call-site passes more inputs to this function than it can accept."
I understand Simulink does not support char variables. I am only using char variables within the Matlab function code in which I would expect it to work.
Could anyone give me a suggestion on how to fix this or at least help me clear up what is going on there, please?
Thank you.
Sincerely.
6 Commenti
Kaustubha Govind
il 11 Ott 2012
Could you post some snippets of how the functions are being called from the MATLAB function block?
Daniel
il 11 Ott 2012
Azzi Abdelmalek
il 11 Ott 2012
post all the content of your function
Daniel
il 11 Ott 2012
Daniel
il 12 Ott 2012
Mohamed Abdelkader Zahana
il 3 Lug 2014
How did you solve the problem?
Risposte (0)
Categorie
Scopri di più su Data Types in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!