Im trying to write a code in Matlab that uses the function “mmread”.
At first I got the following error:
"C:\Program Files\MATLAB\R2008a\bin\win32"
I searched the web and found that I hade to download mmread and located it in “C:\Program Files\MATLAB\R2008a\bin\win32”, so I did. But still it doesn’t work.
When I try to run it on the command window, like that:
mmread('C:\videosFolder\video1.avi');
I get the following warning:
Warning: In the directory "C:\Program Files\MATLAB\R2008a\bin\win32\mmread", mexDDGrab.mexw32 now shadows mexDDGrab.dll.
Please see the MATLAB 7.1 Release Notes.
And when I try to run my code:
[~,audio]=mmread(pathname,[],[n n+1],true,false,'',true,false);
I get the followinf error:
Expression or statement is incorrect--possibly unbalanced (, {, or [.
Any suggestions ?
thanks in advance.
I just tested it, 2010a does the ~ but 2009a does not, so with 2008 you would have to use [temp,audio]=mmread() ingoring the content of temp