Matlab c code generation

조회 수: 4 (최근 30일)
Chiluveru Manishankar
Chiluveru Manishankar 2023년 2월 17일
댓글: Matan Silver 2023년 3월 13일
Hi I am trying to generation c code form m file but I am getting erros like use {} instead of () for Cells but replacing () with {} is not correct way of synatx in matlab but error is asking me to replace that
  댓글 수: 3
Sachin
Sachin 2023년 2월 17일
Can you please provide code where you are getting error?
Matan Silver
Matan Silver 2023년 3월 13일
Hi Chiluveru,
Are you still having trouble with this issue with code generation? Referring to the "cell" documentation:
"cell" does use bracket-based indexing (for example, myCell{1} will access the first element of the cell array myCell). However, it's still possible there could be an issue with MATLAB or Code Generation. Could you provide a reproduction script so we can generate the same error you are seeing, on our side? Thanks,
Matan

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

태그

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by