This file contains a guide_simulink_sfunction interface. It is a fairly easy and simple application. It was mainly created as a reply for a question from one of the students on “how to display the simulink results in real time in a gui interface, outside the boundries of simulink?” the gui(simulink_gui_interface) is a simple one. It calls the simulink model(simulink_model.mdl), which in return uses an s-function(sfun.m) to plot the data. I tried to make this example as simple as possible so that more people would benefit from this application. One more important observation, if you run the simulink model (simulink_model.mdl) from simulink, it will take more time than running the simulink model from the interface itself (simulink_gui_interface)!!
To run, just type in the Matlab workspace:
Wayne State University
Nassim Khaled (2021). gui_simulink_scope (https://www.mathworks.com/matlabcentral/fileexchange/21261-gui_simulink_scope), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!