Simulink embeded coder - Cross compiler on Windows targeted to Linux machine
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have windows installed matlab and want simulink embeded coder to do model cross compile targeted to Linux. Is it possible? my model can be compiled on Ubuntu simulink embeded coder and run in right way. but my customer only have matlab on windows and I want to find solution how to achieve this goal. if the answer is yes, please let me know detail on how-to.
Thanks
Forrest
3 commentaires
Réponses (1)
Swastik Sarkar
le 24 Juin 2025
Given that the development environment is based on Windows, a practical approach would be to compile the generated source code using the Windows Subsystem for Linux (WSL). This enables compilation within a Linux-compatible environment—such as Ubuntu—on the same Windows system. Alternatively, compilation can be performed directly on the target Ubuntu machine intended for execution.
To implement this, it is necessary to install a WSL distribution, with Ubuntu being a suitable choice. For detailed instructions and further guidance, the following MATLAB Central Answer may be helpful:
Hope this helps cross-compilation on Windows.
0 commentaires
Voir également
Catégories
En savoir plus sur Simulink Coder dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!