Input Arguments

조회 수: 10 (최근 30일)
DRAN
DRAN 2011년 8월 31일
이동: Rik 2022년 8월 16일
I am working with MatLab and Simulink. Whenever I run a Simulink model I get an incorrect number of input arguments as the error. my .m file is named makeWhirlyBird. The first function inside the .m file is makeWhirlyBird(u). My interpreted Matlab Function is also makeWhirlyBird(u). and my model is called makeWhirlyBird.mdl. I cannot find a reason for this to happen. Thank You.

답변 (1개)

DRAN
DRAN 2011년 8월 31일
이동: Rik 2022년 8월 16일
The reason is the .m file and the .mdl file cannot be named the same
  댓글 수: 1
Felipe
Felipe 2014년 9월 3일
이동: Rik 2022년 8월 16일
thanks!

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

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by