I had a working Matlab coder project in R2014a. I have upgraded to R2015a. The project no longer works.

2 vues (au cours des 30 derniers jours)
In 2014a, the entry point structures and globals were declared by interaction with the app. The main routine was written in C and listed in the custom code section under 'additional source files'. When I start the new coder app and specify an existing project, it does not show the main routine in the file list and there seems to be no definition of the structures. I cannot find a settings dialog that will let me specify the main routine or the structure of the arguments.

Réponses (1)

Shruti Sapre
Shruti Sapre le 31 Août 2015
Hello Sean,
I understand that you want to use an R2014a coder project with R2015a.
However, using the existing R2014a project with R2015a will lead to errors due to incompatibility. You might have to create your project again to avoid these issues. Please follow the guidelines given at the below link to create a project compatible with R2015a:
Generate C code using the MATLAB Coder App:
Generate MEX functions using the MATLAB Coder App:
The new coder app follows a step by step process, the changes to the app in R2015a are specified in the release notes:
Hope this helps!
-Shruti

Catégories

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

Community Treasure Hunt

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

Start Hunting!

Translated by