Simulink "Too Many Input Arguments" Error

Just recently, I've been receiving an error when trying to run my simulink model that says there are too many input arguments. The model runs on other machines with no problems and it just started happening within the last couple of weeks. I'm running R2015b Student Edition 8.6.0.267246 64 bit. I've tried moving the model and the .m file associated with it to another directory within the same drive. It ran fine about two weeks ago and I haven't changed anything since then and it runs on other machines with the same version of MATLAB (R2015b Student Edition 8.6.0.267246 64 bit). I read in another help post that any system.m file in the current directory can cause build issues and the result of the command "which -all system" is "built-in (C:\Program Files\MATLAB\R2015b\toolbox\matlab\general\system)" So I don't think this is causing the issue. Thank you very much.

6 件のコメント

Walter Roberson
Walter Roberson 2016 年 5 月 10 日
We need a complete copy of the error message.
Marc Easton
Marc Easton 2016 年 5 月 11 日
That is the complete error message. It's simply "Too Many Input Arguments." It doesn't point to any specific function or part of the Simulink Model.
Craig Cole
Craig Cole 2019 年 12 月 13 日
Same here. Happened when upgrading my model from 2017a to 2019b. In the Diagnostics viewer, I get: Build "Too many input arguments." Component: Simulink Category: Block Diagram Error". That's it. No indication of a problem in the model, works fine in R2017a.
Walter Roberson
Walter Roberson 2019 年 12 月 13 日
Craig could you attach your model?
Muhammad wasim
Muhammad wasim 2020 年 12 月 15 日
I am also facing the same problem. I am running the MATLAB example watertank. I want to linearize it on the trim point according to the steps given in the documentation, however, could not get the linearize model but an error "Too many input arguments".
Jicheng Chen
Jicheng Chen 2022 年 4 月 8 日
The problem is probabily caused by the conflict of the function "linearize". Try "which linearize" to locate the conflicted function, and remove it from the MATLAB path. The corrected reffered function path should in the slcontrol toolbox as follows: "~/MATLAB/toolbox/slcontrol/slcontrol/linearize.m".

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeEvent Functions についてさらに検索

質問済み:

2016 年 5 月 10 日

コメント済み:

2022 年 4 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by