2) save both of these (code and wav file) in your matlab 'work' directory (makes things easier) 3) open matlab 4) type in mex mythreadprog.cpp 4.5) NOTE: if this is the first time you're using the mex compiler in matlab, type mex -setup before step 4 to choose the compiler you want to use. NOTE: because instructables is slightly retarded this file will download as something like FLSKW9EFHIK6H6V.tmp, so you'll have to rename it to something.rar (annoying, but not my fault). 1) download the code and wav file attached to this step ( Code And Wav File.rar), this is a compressed file, you'll need winzip or winrar to uncompress it. This worked with matlab 6.5 (R13) and with matlab 7 (R14) but I'm having trouble using it with matlab r2007a. You will need matlab and a plain text editor: use either notepad which comes with windows (search for notepad.exe) or use the matlab m file editor (file-new-mfile).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |