Why the GUI not upload and sidplay when I call it with another function in parallel?
Show older comments
I have a function to record an EEG data from EEG device--->name it f1
And I have another function to do some flsahes on GUI that I created ---> name it f2
I would like to execute the two function simultaneously because the time here is very important and later I want to analyse the EEG data that I collected depend on the flashing.
I call the two function in parallel by:
funList = {@f1,@f2};
matlabpool open 2
spmd
labBarrier
funList{labindex}()
end
matlabpool close
Every thing is fine from the parallel side (because the two functions works together), but the problem in GUI where it is working without upload or display to the user screen. Where it is working perfect if I call the GUI (f2) without calling f1(recording EEG data).
Note: I have 4 GB RAM size and 4 CPUs 3.1 GHz on my desktop.
Any solution????
Accepted Answer
More Answers (0)
Categories
Find more on EEG/MEG/ECoG in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!