Matlab Coder - specifing input type on multiple entry-point code

1 vue (au cours des 30 derniers jours)
Y
Y le 18 Fév 2013
Hi,
I wrote a large matlab program and I wish to generate a lib file. It has about 50 .m files and 20 entry-point functions and I wish to create a single lib file. I also want to avoid the input specification at each entry point file. I understand that I can use matlab script to auto-define types when using a coder project. My questions are:
1. Can I specify a configuration object when working with coder projects? (similar to the codegen -config option)
2. If not, can I use an auto-define script with the codegen command?
Thank you.

Réponse acceptée

Ryan Livingston
Ryan Livingston le 19 Fév 2013
1. You can import a configuration object from your MATLAB workspace. In the project click on settings (the gear in the top right) and choose "Import settings...". Then just choose the config object you wish to use.

Plus de réponses (0)

Catégories

En savoir plus sur Generating Code dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by