Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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.

Answers (1)

Sachin Ganjare
Sachin Ganjare on 26 Sep 2012
Edited: Sachin Ganjare on 26 Sep 2012
Simply put the GUI .m file name in post loadfcn in 'model properties' as follows:
GUI_m_file_name;
Hope it helps!!!

This question is closed.

Tags

Products

Community Treasure Hunt

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

Start Hunting!