Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
jayasmita baidya
jayasmita baidya le 26 Sep 2012
Clôturé : MATLAB Answer Bot le 20 Août 2021
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.

Réponses (1)

Sachin Ganjare
Sachin Ganjare le 26 Sep 2012
Modifié(e) : Sachin Ganjare le 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!!!

Cette question est clôturée.

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by