MATLAB: How to compile the generated C code on a Linux/UNIX computer that was generated on a Windows PC

Embedded Codermakefileopt_optplatformportrtwlibsimulinksimulink codertemplatetmf

I want to compile the code that is generated using Real-Time Workshop on another computer, without installing MATLAB on that computer. I would like to compile the code without installing MATLAB, even on a different platform.

Best Answer

The code that is generated by Real-Time Workshop is ANSI-C and thus platform independent. You can use PackNGo utility introduced in Real-Time Workshop 6.5 (R2006b) for packaging generated code, see the following page for details: