Can anyone help me using Matlab code Generation?.

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일

0 개 추천

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.
Josef: Could you run "mex -setup" and select a supported compiler. Then try the coder command again.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB Coder에 대해 자세히 알아보기

제품

태그

질문:

2013년 3월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by