Generating code from simulink
Mostra commenti meno recenti
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 Commenti
Babak
il 26 Nov 2012
what is in your model?
Kaustubha Govind
il 26 Nov 2012
Please also paste the exact error message.
Tolutola
il 26 Nov 2012
Walter Roberson
il 26 Nov 2012
How are you triggering the error message?
Do you have Simulink Coder installed?
Kaustubha Govind
il 26 Nov 2012
Tolutola: I was hoping there was more to the error message, like a stack trace. Could you maybe attach a snapshot of the error. (See Where can I upload images and files for use on MATLAB Answers?)
Kaustubha Govind
il 26 Nov 2012
Also, I am assuming that you are able to simulate the model, correct?
Tolutola
il 26 Nov 2012
Ryan G
il 26 Nov 2012
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.
Risposte (1)
Babak
il 26 Nov 2012
0 voti
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.
Categorie
Scopri di più su Simulink Coder in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!