| Embedded MATLAB™ | ![]() |
Follow these steps to convert M-code to a C-MEX function that complies with Embedded MATLAB semantics and syntax, as described in Working with the Embedded MATLAB Subset:
| Step | Action | Details |
|---|---|---|
| 1 | Install prerequisite products. | See Installing Embedded MATLAB MEX. |
| 2 | Set up your C compiler. | See Setting Up the C Compiler. |
| 3 | Set up your file infrastructure. | See Setting Up File Infrastructure and Paths. |
| 4 | Make your M-code compliant with Embedded MATLAB semantics and syntax. | See Making M-Code Compliant with the Embedded MATLAB Subset. |
| 5 | Set compilation options. | See Setting C-MEX Compilation Options. |
| 6 | Specify properties of primary function inputs. | See Specifying Properties of Primary Function Inputs. |
| 7 | Run Embedded MATLAB MEX with the appropriate command-line options. | See Compiling Your M-File. |
![]() | About Embedded MATLAB MEX | Installing Embedded MATLAB MEX | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |