How to use MEX files in Matlab?
显示 更早的评论
I have some matlab codes (.m file) and its corresponding MATLAB MEX (.mexw32) file in a folder. I am new to the matlab of using mex files. I am not able to run the m files now.
Any help is appreciated.
Thanks
4 个评论
James Tursa
2016-1-10
Please show exactly what files you have, and exactly what commands you ran, and post the exact error messages you are getting. Are you running Windows 32-bit MATLAB?
Jab
2016-1-10
veerendhra kumar challa
2017-10-3
i have the attached file in folder.i am getting the following error attempt to execute Error using mex C:\Users\VIGNAN\Downloads\__MACOSX\classify\private\meanShift1.c not found; check that you are in the correct current folder, and check the spelling of 'C:\Users\VIGNAN\Downloads\__MACOSX\classify\private\meanShift1.c'.
Error in toolboxCompile (line 21) mex([dir 'meanShift1.c'], '-outdir', dir );
i am running Windows 64-bit Matlab.
Walter Roberson
2017-10-3
编辑:Walter Roberson
2017-10-3
Why are you trying to compile a MACOSX version on MS Windows ?
I am not sure which files you are referring to as "attached file" ?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Write C Functions Callable from MATLAB (MEX Files) 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!