필터 지우기
필터 지우기

convert from m file to c file

조회 수: 1 (최근 30일)
reez all
reez all 2012년 3월 27일
hi everyone, i have some problem. can matlab coder convert matlab script into c coding??
thank you..

채택된 답변

Walter Roberson
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
reez all
reez all 2012년 3월 28일
That the main problem i am facing now. i have separate my code to be a few function how ever i have to defined the variable of my function. i really do not understand it.

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

추가 답변 (1개)

hardik
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.
  댓글 수: 1
reez all
reez all 2012년 3월 28일
i'm very interested to know more about what you just said. can you tell me more on how to to save the m-file into different format??

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

카테고리

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