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.

Respuestas (1)

Sachin Ganjare
Sachin Ganjare el 26 de Sept. de 2012
Editada: Sachin Ganjare el 26 de Sept. de 2012
Simply put the GUI .m file name in post loadfcn in 'model properties' as follows:
GUI_m_file_name;
Hope it helps!!!

La pregunta está cerrada.

Productos

Etiquetas

Preguntada:

el 26 de Sept. de 2012

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by