Embedded coder is not generating executable file

2 visualizaciones (últimos 30 días)
Vignesh A
Vignesh A el 30 de Mzo. de 2021
Comentada: Vignesh A el 30 de Mzo. de 2021
Im trying to generate code from simulink model. i was able to generate code files like .bat, .mat, .mk, .c, .h using embedded coder but im not getting the executable file. I watched matlab tutorials and other youtube videos regarding this everyone seems to get an executable file.
Steps i followed:
  1. Changing solver to fixed step
  2. Target file - ert.tlc and c language
  3. under code generation=> report i selected report generation
  4. and i will click embedded coder=>build
I dont know what im missing whether i should enable any option or im missing a toolbox. I downloaded all the toolbox related to software in loop
  2 comentarios
Walter Roberson
Walter Roberson el 30 de Mzo. de 2021
is there any error message?
Vignesh A
Vignesh A el 30 de Mzo. de 2021
There wasnt any error. Also i resolved the issue, I was missing c compiler so i installed MinGW64 Compiler toolbox and I followed the exact steps from matlab website and now im getting the executable file for the model and thank a lot for trying to help.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Simulink Coder en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by