Can anyone help me using Matlab code Generation?.

2 次查看(过去 30 天)
Hi all,
I am new to Matlab Coder and am trying to convert some .m files into .c files. I read and watched tutorials that current versions of matlab have a built-in coder which could help me with my task.
What do I need except for matlab? Are there any other requirements?
Cheers.

采纳的回答

Wayne King
Wayne King 2013-3-27
You do have MATLAB Coder right? You need the MATLAB Coder product installed. Assuming that, have you tried a simple function for code generation first?
  2 个评论
Josef
Josef 2013-3-27
Hi Wayne, Thanks for your reply. I do have a matlab coder installed and I also tried a simple function but recreived this error. Do you have any suggestions?:
>> coder -build Untitled1.prj ??? Unknown compiler ''.
Error in ==> foo Line: 1 Column: 1 Code generation failed: Open error report.
Kaustubha Govind
Kaustubha Govind 2013-3-27
Josef: Could you run "mex -setup" and select a supported compiler. Then try the coder command again.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Coder 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by