Interface Gui and Simulink in order to generate an executable
古いコメントを表示
Hello, I need your assistance about the best way to write the interface between several gui and a simulink model, but in a way that makes me generate a standalone executable. What I want is a simulation controlled by a Gui, running during infinite time unless asked by the user through the Gui. Also the user shall be able to change the inputs data of the simulink model on the fly. The Gui shall display on the fly the outputs of the simulink model. What I did is to use set_param for the intputs, and StartFcn callbacks in the simulink model for the outputs. I already found that using set_param is not possible if an executable has to be generated. It seems that the use of MAT file is not possible neither since it cannot be written on the fly (correct ?). So how do I do, what are the main concepts to use ?? is the use of simulink callbacks possible for the outputs that shall be displayed on the gui, even when an executable is generated ? Thank you very much in advance for your help. It is quite urgent since I have spent much time in that problem...
採用された回答
その他の回答 (1 件)
カテゴリ
ヘルプ センター および File Exchange で Simulink Coder についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!