Generating code from simulink

2 ビュー (過去 30 日間)
Tolutola
Tolutola 2012 年 11 月 26 日
I've been trying to generate code from a simulink model. It keeps giving me the "too many input arguments" error. I'd appreciate any help. Thanks.
  8 件のコメント
Tolutola
Tolutola 2012 年 11 月 26 日
The model works perfectly well in simulink. I want to generate code so I can use it in place of the visual model.
Ryan G
Ryan G 2012 年 11 月 26 日
What is the process you are using to build the model? For example, I could build a model in the configuration parameters (build button), CTRL-B or do RTWBUILD in the MATLAB command window.

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

回答 (1 件)

Babak
Babak 2012 年 11 月 26 日
Which target are you generating code for? (grt or ...?)
You might want to reduce the model by removing the blocks and signals one by one (if possible) and generate code so that this way you can hopefully figure out which block is it that is giving you this error message.

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by