Generating executable using MATLAB coder?
現在この質問をフォロー中です
- フォローしているコンテンツ フィードに更新が表示されます。
- コミュニケーション基本設定に応じて電子メールを受け取ることができます。
エラーが発生しました
ページに変更が加えられたため、アクションを完了できません。ページを再度読み込み、更新された状態を確認してください。
古いコメントを表示
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
2013 年 10 月 2 日
What about your simulink model? you can't generate an executable from a simulink model with matlab coder
9 件のコメント
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.
Azzi Abdelmalek
2013 年 10 月 2 日
Ok, but what about commands like
set_param
Rinachi Garg
2013 年 10 月 3 日
All these commands are used to either get the parameter or set the parameter in SIMULINK.
Azzi Abdelmalek
2013 年 10 月 3 日
I know, but Matlab compiler do not work with simulink
Kaustubha Govind
2013 年 10 月 3 日
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
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
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
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 についてさらに検索
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
- América Latina (Español)
- Canada (English)
- United States (English)
ヨーロッパ
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
