Info

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

How can i interface a simulink model saved in .mdl file with GUI ?

1 回表示 (過去 30 日間)
jayasmita baidya
jayasmita baidya 2012 年 9 月 26 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
According to my search in internet a model saved in .mdl file can be interfaced with GUI by going to the particular .mdl file then select file-model parameters-callbacks-postloadfcn.My query is that what code should i write there and apply so that the particular model gets interfaced with GUI and the necessary .fig file gets generated. Correct me if i am wrong else provide the necessary code.

回答 (1 件)

Sachin Ganjare
Sachin Ganjare 2012 年 9 月 26 日
編集済み: Sachin Ganjare 2012 年 9 月 26 日
Simply put the GUI .m file name in post loadfcn in 'model properties' as follows:
GUI_m_file_name;
Hope it helps!!!

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

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by