MATLAB Answers

Input Arguments

12 views (last 30 days)
DRAN
DRAN on 31 Aug 2011
Answered: Felipe on 3 Sep 2014
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 Comment
DRAN
DRAN on 31 Aug 2011
This comment was flagged by Rik
The reason is the .m file and the .mdl file cannot be named the same

Sign in to comment.

Answers (1)

Felipe
Felipe on 3 Sep 2014
thanks!

Categories

Community Treasure Hunt

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

Start Hunting!

Translated by