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

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.

Antworten (1)

Sachin Ganjare
Sachin Ganjare am 26 Sep. 2012
Bearbeitet: Sachin Ganjare am 26 Sep. 2012

0 Stimmen

Simply put the GUI .m file name in post loadfcn in 'model properties' as follows:
GUI_m_file_name;
Hope it helps!!!

Diese Frage ist geschlossen.

Produkte

Tags

Gefragt:

am 26 Sep. 2012

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by