MATLAB: Matlab Gui importing data before compile

gui import wav exe

Hi, I want to import some datas to my gui function which are in *.wav form and use this data for fft process. My main point is after making *.exe file that the user don't import any song to software . Thanks

Best Answer

  • You can either make the data an m-file and call it in your opening function, or you can just ship your data file as a separate file and read it in the opening function. If it's an m-file it will automatically know to include it. I always do the latter (a separate file) because it seems easier (no altering of the data file needed).