I am trying to generate a executable file for GUI. It gives me the following Project Code readiness Score:
I will have to use bdroot, set_param etc to pass the parameters to Simulink model. I am not sure how to resolve these invokations?
Thanks for your help in advance.

 채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 10월 2일

1 개 추천

What about your simulink model? you can't generate an executable from a simulink model with matlab coder

댓글 수: 9

Rinachi Garg
Rinachi Garg 2013년 10월 2일
I didn't try that. Simulink model is running in the background of the GUI. All the values to Simulink are passed from GUI. So, my main input file for code generator is GUI.
Ok, but what about commands like
set_param
Rinachi Garg
Rinachi Garg 2013년 10월 3일
All these commands are used to either get the parameter or set the parameter in SIMULINK.
Azzi Abdelmalek
Azzi Abdelmalek 2013년 10월 3일
I know, but Matlab compiler do not work with simulink
Rinachi Garg
Rinachi Garg 2013년 10월 3일
I created SIMULINK executable. Also, I read couple of related posts but could not really figure out how to create a MATLAB GUI executable when I am using commands like set_param, bdroot etc.
Kaustubha Govind
Kaustubha Govind 2013년 10월 4일
You need to remove the calls to set_param, etc. You should directly call into the DLL generated using Embedded Coder instead. Please see the link I posted above for more details.
Rinachi Garg
Rinachi Garg 2013년 10월 11일
Is there any sample code which can help me out with this. Moreover, I am not able to access any of the links within above link.
Rinachi
Rinachi 2013년 11월 7일
The document asks to select system target file to ert_shrlib.tic which will create a host shared library. But, I do not see that option. Only option available nearest to that is ert.tlc.
I wanted to know how I can generate shared library if I do not have that option.
Thanks.

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink Coder에 대해 자세히 알아보기

질문:

2013년 10월 2일

댓글:

2013년 11월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by