|
Hi everybody,
I am developing a GUI for making a comparative between some
results, which are done in other m-files. This m-files also
need to change some parameters of a simulink model.
So, i have a GUI, some m-files, and a simulink model. The
GUI is not very complex, I have an axes figure for ploting
the simulation and a few buttons for selecting the
appropiate algorithm (this is, a call to a code stored in
one of the m-files, which will change parameters and
simulate the simulink model, and will produce some
variables).
Having said that, my problem is: I don't know how to pass
the data obtained from the m-files to the GUI, and then
work with them INSIDE the GUI. How can i do that?
I know i could use nested functions, but in that case the m-
file would be very big. Also some functions are .p
extension and i dont have access to the code.
I have looked on the web but i dont find an example or a
clear response (i know it's related with handles data).
Any help will be very useful.
Kind regards, Mario.
|