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 Center および File ExchangeModeling についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by