Compiling MEX files
Show older comments
Hi there,
Is there any way to compile a MEX file on MATLAB 2010 and then run the resulting function on a different version of matlab - matlab 2009?
what files do i need to transfer from matlab 2010 to 2009 to make it work?
what about compiling on matlab 7.0 and then running it on matlab 2009? what files would i need to transfer then?
thank you
harry
Answers (1)
James Tursa
on 22 Mar 2011
0 votes
In general, mex files are not guaranteed to be compatible from version to version, but they often do work. You will just have to try it out to see. Transfer the mex routine itself and any specific files that you know it needs (e.g., other non-MATLAB dll files).
Categories
Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!