How to burn a mex(.m) file to a hardware like tms32067xx series??

If you find any solutions or suggestions please let me know. I wanna know how to link matlab n code composer studio

 Akzeptierte Antwort

Kaustubha Govind
Kaustubha Govind am 10 Aug. 2011

0 Stimmen

MEX-files are basically shared libraries (ie, .dll on Windows, .so on Linux, etc.) that link against MATLAB run-time libraries. So to be able to run these files, you need MATLAB installed. It is not possible to run MEX-files directly on an embedded target. However, if you have the source code, it may be fairly straightforward converting it to a more generic form that can be compiled using your hardware toolchain.
For MATLAB (.m) files, you can use the MATLAB Coder product to generate standalone C code as long as your code confines to the language subset supported for code generation. You can then compile this code in CCS (or any other C compiler) and run it on pretty much any embedded target.

2 Kommentare

Thanx Kaustubha..:)
Actually we use TMS6713 n ccs along with it. n i just wanna write my code in .m file n burn it into that kit..
I wanted learn more about Simulink and MATLAB CODER.. kindly help me out...
Suchindra: Please follow the documentation for both products and post here if you have specific question: http://www.mathworks.com/help/toolbox/coder/ and http://www.mathworks.com/help/toolbox/simulink/

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by