Is it possible to run code generation checks before generating code on server, without having the coder toolbox locally?
17 views (last 30 days)
Show older comments
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!
0 Comments
Answers (1)
Tridib
about 1 hour ago
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!
See Also
Categories
Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!