フィルターのクリア

How can i send data from App Designer to a Simulink model that has masks?

4 ビュー (過去 30 日間)
Arianna Nazzarelli
Arianna Nazzarelli 2023 年 12 月 6 日
編集済み: Ramtej 2023 年 12 月 7 日
I am working on a Simulink model in which there are masks to enter the parameters needed to simulate this model. I have been asked to develop an application for this model on App Designer. Specifically, the application must take the parameters entered on an excel file (which are the same as those in the masks) and pass them to the simulink model. I was able to pass the parameters from excel to App designer, but then I am not able to pass this data to the simulink model. How can I do this?
(P.S. It has been suggested that I pass them to InitFCN so that I don't have to delete the masks)

回答 (1 件)

Ramtej
Ramtej 2023 年 12 月 7 日
編集済み: Ramtej 2023 年 12 月 7 日
Hi Arianna,
I assume you are trying to set the mask paramters using your App.
You can achieve this programmatically by utilizing the "set_param" function. For detailed instructions on how to control masks programmatically, please refer to the following documentation.
Hope this helps!!

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by