Input Arguments

25 visualizaciones (últimos 30 días)
DRAN
DRAN el 31 de Ag. de 2011
Movida: Rik el 16 de Ag. de 2022
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.

Respuestas (1)

DRAN
DRAN el 31 de Ag. de 2011
Movida: Rik el 16 de Ag. de 2022
The reason is the .m file and the .mdl file cannot be named the same
  1 comentario
Felipe
Felipe el 3 de Sept. de 2014
Movida: Rik el 16 de Ag. de 2022
thanks!

Iniciar sesión para comentar.

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by