convert from m file to c file
1 次查看(过去 30 天)
显示 更早的评论
hi everyone, i have some problem. can matlab coder convert matlab script into c coding??
thank you..
0 个评论
采纳的回答
Walter Roberson
2012-3-27
I am not certain that MATLAB Coder can convert MATLAB script files. Perhaps it can in R2012A, but not (as far as I know) in previous versions. Instead it needed MATLAB function files, not scripts.
Note: there are a lot of restrictions as to what code can be generated for. For example no cell arrays.
更多回答(1 个)
hardik
2012-3-27
yes matlab can convert. u can save the m-file into different format. or when u save ur mfile later on u can just right click and select open with c program. should be very easy.
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!