| MATLAB® | ![]() |
Although the MATLAB® product is a complete, self-contained environment for programming and manipulating data, it is often useful to interact with data and programs external to the MATLAB environment. MATLAB provides a C and Fortran API for programs written in these languages. You use the API functions in your programs and build them into binary MEX-files, which you call from the MATLAB command line.
| Using MEX-Files to Call C and Fortran Programs | Using binary MEX-files, mx routines, and mex routines |
| MATLAB® Data | Data types you can use in source MEX-files |
| Building Binary MEX-Files | Compiling and linking your MEX-file |
| Custom Building Binary MEX-Files | Platform-specific instructions on custom building |
| Troubleshooting | Troubleshooting some of the more common problems you may encounter |
| Additional Information | Files you should know about, example programs, where to get help |
![]() | Data Conversion | Using MEX-Files to Call C and Fortran Programs | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |