Deployment of generated code

조회 수: 3 (최근 30일)
Evgenii Startcev
Evgenii Startcev 2021년 3월 18일
댓글: Darshan Ramakant Bhat 2021년 3월 19일
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?

채택된 답변

Darshan Ramakant Bhat
Darshan Ramakant Bhat 2021년 3월 19일
  댓글 수: 2
Evgenii Startcev
Evgenii Startcev 2021년 3월 19일
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 2021년 3월 19일
If you are relocating the code then packNGo workflow may help you :

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by