フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How do I pass a tuneable parameter to the exe as a command line argument

1 回表示 (過去 30 日間)
Matt
Matt 2014 年 5 月 6 日
閉鎖済み: Matt 2014 年 5 月 20 日
I have generated an executable from my simulink model, which is designed to run on the windows platform. I have a batch file that I use to start the application.
What I would like to do is pass a variable on the command line (from the batch file) to configure a parameter used in the model. Is this possible, and if so how.
Thanks in advance for any help.
Regards, Matt
  2 件のコメント
pietro
pietro 2014 年 5 月 6 日
To which block do you need to pass the parameter?
Matt
Matt 2014 年 5 月 6 日
Hi pietro, I currently have the parameter defined in the workspace as a Simulink.Parameter which is used in a constant block (it is a multiplier in the model). What I would like to do is alter this parameter without having to rebuild the application.

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by