MATLAB Coder - generate code but build separately?

3 ビュー (過去 30 日間)
Siva
Siva 2023 年 9 月 6 日
コメント済み: Siva 2023 年 9 月 13 日
Hello, I am using Coder with MATLAB 2022a. I am able to generate code, but when I try to build into a .lib, I encounter errors having to do with file paths with spaces, for example "C:\Program Files", not able to find make etc. I see resolutions for these in MATLAB Answers, but rather than work those out, I was thinking about simply generating the C code with Coder, but use my own build process. I was wondering what might be the cons to this approach. Thank you.

採用された回答

Mark McBroom
Mark McBroom 2023 年 9 月 13 日
The con for this approach is that you may have to adjust your build process if the names of .c or .h files change due to changes in your MATLAB code.
  1 件のコメント
Siva
Siva 2023 年 9 月 13 日
That makes sense, thank you.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Coder についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by