Error: "This call-site passes more inputs to this function than it can accept."

조회 수: 8 (최근 30일)
Daniel
Daniel 2012년 10월 11일
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
Daniel
Daniel 2012년 10월 12일
Thank you all. This problem was solved. Best.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Manual Performance Optimization에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by