Is it possible to run code generation checks before generating code on server, without having the coder toolbox locally?

16 visualizzazioni (ultimi 30 giorni)
Hi,
My company runs matlab/simulink c++ code generation on a server. This requires a special license for the server code generation, and also for every matlab license that is used to create the code that is used for code generation (or so I've been told). However, I'm running into the issue that when I generate code on the server, it often fails because of very simple issues such as a data type mismatch, which is not found when I update the model in Simulink. This makes fast iteration hard, since the code generation has a lot of overhead, and usually takes about 20 to 30 minutes before it runs into this issue. Is there any way I can run these checks before starting code generation on the server, whithout having the code generation toolboxes?
Thank you in advance!

Risposte (1)

Tridib
Tridib circa 9 ore fa
Dear @Nils,
You can catch most data‑type and configuration issues before server‑side code generation by running the built‑in Simulink Model Advisor checks and tightening simulation diagnostics locally, all of which work without requiring any Coder licenses.
Model Advisor helps detect structural and data‑type inconsistencies early, and if your team has optional access to Embedded Coder anywhere, you can also use the Code Generation Advisor to validate model readiness without generating code.
For further help, refer to the documentation:
Hope this helps!

Categorie

Scopri di più su Simulink Coder in Help Center e File Exchange

Prodotti


Release

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by