Coder: Create a Makefile for Linux from Windows.

7 visualizaciones (últimos 30 días)
Brian Degnan
Brian Degnan el 17 de En. de 2019
Comentada: Ryan Livingston el 22 de En. de 2019
I have the situation where I am the *unix user, and I get C generated from Matlab Coder that is designed for Windows. The signal procesing group verifies the code on Windows, and then I end up with the libraries. I end up updating the Makefile, by hand, to compile the code.
Is there a way for Coder to create a Makefile for both Linux and Windows?

Respuesta aceptada

Ryan Livingston
Ryan Livingston el 18 de En. de 2019
Unfortunately there is not a good way to achieve this with MATLAB Coder today. We've made an internal note of your request so we can sondier it for future releases of MATLAB Coder.
  3 comentarios
Brian Degnan
Brian Degnan el 22 de En. de 2019
As an update, I created a BASH script to autogenerate Makefile. I could not upload it here as it's not an image file, but here's the script:
Ryan Livingston
Ryan Livingston el 22 de En. de 2019
Thanks for sharing, Brian!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB Coder en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by