フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

change file in c language to matlab

3 ビュー (過去 30 日間)
simira atraqi
simira atraqi 2011 年 5 月 13 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
How can I change file in C language to Matlab? Thanks a lot

回答 (1 件)

Walter Roberson
Walter Roberson 2011 年 5 月 13 日
You would have to rewrite the code. Sometimes it is very easy and some times it gets messy (especially if the code makes heavy use of pointers.)
As an alternative, you may wish to consider calling the C code (written in C) from MATLAB. You would need to build a mex interface for that. See this guide
  2 件のコメント
simira atraqi
simira atraqi 2011 年 5 月 13 日
Thank you for help.
Can I use this code without I have C languge in my compueter?
Kaustubha Govind
Kaustubha Govind 2011 年 5 月 13 日
You do need a supported C compiler (look against your MATLAB version and system platform on http://www.mathworks.com/support/compilers/R2011a/win32.html) to compile C-MEX functions, if that's what you're asking.

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by