How can i communicate between my GUI and my Simulink Model? + "in Real Time"

I want to send variables by using the GUI (Slider, Edit Text, Push Button) to the workspace or rather to my simulink model.
Additional I want to display my Simulink model parameters in "real-time" in my GUI

回答(1 个)

you can do that by using event listener, here is an example on how to make/use event listener (by Phil Goddard).

类别

帮助中心File Exchange 中查找有关 Programmatic Model Editing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by