- #1
Gean
- 5
- 0
Hi,
I have this problem:
I have a main file (main.m) in which is coded a for loop (needed for some data-gathering). De data is stored in a vector.
This vector is passes to a 2nd figure (test1.m) which has an axe. Here I want to plot the data in a "real-time" mode. I do this with another for-loop.
Because MATLAB apparently doens't support Multi-threading, I want to edit main.m on this way:
Inside the for-loop I want to say something like: plot in the axe in test1.m.
I understand that this must be done with handles, but I can't figure out how to do this.
Any help?
I have this problem:
I have a main file (main.m) in which is coded a for loop (needed for some data-gathering). De data is stored in a vector.
This vector is passes to a 2nd figure (test1.m) which has an axe. Here I want to plot the data in a "real-time" mode. I do this with another for-loop.
Because MATLAB apparently doens't support Multi-threading, I want to edit main.m on this way:
Inside the for-loop I want to say something like: plot in the axe in test1.m.
I understand that this must be done with handles, but I can't figure out how to do this.
Any help?