Info
此问题已关闭。 请重新打开它进行编辑或回答。
change file in c language to matlab
1 次查看(过去 30 天)
显示 更早的评论
How can I change file in C language to Matlab? Thanks a lot
0 个评论
回答(1 个)
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 个评论
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!