Input Arguments

11 vues (au cours des 30 derniers jours)
DRAN
DRAN le 31 Août 2011
Déplacé(e) : Rik le 16 Août 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.

Réponses (1)

DRAN
DRAN le 31 Août 2011
Déplacé(e) : Rik le 16 Août 2022
The reason is the .m file and the .mdl file cannot be named the same
  1 commentaire
Felipe
Felipe le 3 Sep 2014
Déplacé(e) : Rik le 16 Août 2022
thanks!

Connectez-vous pour commenter.

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by