how to make uiopen wait until it loads the variables it shoud have load?
2 views (last 30 days)
Show older comments
function buttonImport_Callback(~,~)
uiopen('C:\Users\kobi\Documents\MATLAB\.wav');
VDTMF %another m file that runs a function according to the two varialbes generated from the wav file
/////////////my question:
matlab runs VDTMF before it gets the two varialbes - (fs,data)from the UIOPEN, and that cuase the function that comes after to return me NULL
what can i do the prevent that?
0 Comments
Answers (1)
Jan
on 23 Nov 2014
uiopen does not import variables from files. Use uigetfile instead and import the data by wavread.
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!