Effacer les filtres
Effacer les filtres

MATLAB Coder - generate code but build separately?

1 vue (au cours des 30 derniers jours)
Siva
Siva le 6 Sep 2023
Commenté : Siva le 13 Sep 2023
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.

Réponse acceptée

Mark McBroom
Mark McBroom le 13 Sep 2023
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 commentaire
Siva
Siva le 13 Sep 2023
That makes sense, thank you.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Coder dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by