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

 採用された回答

Kaustubha Govind
Kaustubha Govind 2011 年 8 月 10 日

0 投票

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 件のコメント

Suchindra
Suchindra 2011 年 8 月 11 日
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...
Kaustubha Govind
Kaustubha Govind 2011 年 8 月 12 日
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/

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by