Coder: Create a Makefile for Linux from Windows.

조회 수: 6 (최근 30일)
Brian Degnan
Brian Degnan 2019년 1월 17일
댓글: Ryan Livingston 2019년 1월 22일
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?

채택된 답변

Ryan Livingston
Ryan Livingston 2019년 1월 18일
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
Brian Degnan
Brian Degnan 2019년 1월 22일
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 2019년 1월 22일
Thanks for sharing, Brian!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

태그

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by