Deployment of generated code

3 visualizaciones (últimos 30 días)
Evgenii Startcev
Evgenii Startcev el 18 de Mzo. de 2021
Comentada: Darshan Ramakant Bhat el 19 de Mzo. de 2021
Hello!
I am new to Matlab and Matlab Coder and I have a question. I successfully managed to generate code for Matlab function I need to put into hardware using C language. But as I see resulting code is not "self-sufficient", it uses some of custom matlab libraries.In particular it is different calls to functions which names starts with "emlrt", such as "emlrtAlias", "emlrtCreateStructMatrix", "emlrtSetField" and many others.
What are the options for deployment of generated code for custom hardware? Is it possible to get sources for missing function to build full standalone application for custom hardware. Or maybe there are some options to configure Matlab Coder somehow to avoid using external API?

Respuesta aceptada

Darshan Ramakant Bhat
Darshan Ramakant Bhat el 19 de Mzo. de 2021
  2 comentarios
Evgenii Startcev
Evgenii Startcev el 19 de Mzo. de 2021
Thank you, Darshan! Your answer helped me to navigate to issue, I was using source code generation already, but I included interface folder generated to build and it was a problem.
Darshan Ramakant Bhat
Darshan Ramakant Bhat el 19 de Mzo. de 2021
If you are relocating the code then packNGo workflow may help you :

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

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

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by