How to execute makefile for C code generated from MATLAB coder

26 ビュー (過去 30 日間)
632541
632541 2021 年 9 月 30 日
回答済み: Aiswarya 2022 年 6 月 29 日
How to execute makefile for C code generated from MATLAB coder?
I have C code by Matlab coder. How do i run this in Visual studio code using make file.
I have seen .mk file which is generated along all header and source files .
Do i use that .mk makefile ? How should I use it.(what command to use?)
Or make own makefile and use make command

回答 (1 件)

Aiswarya
Aiswarya 2022 年 6 月 29 日
You can use the .mk makefile in the C code library. I am assuming that you are talking about the library generated by MATLAB coder while referring to other header and source files. Use the command make -f filename.mk in terminal

カテゴリ

Help Center および File ExchangeCode Compilation Customization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by