MATLAB Coder lots of syntax and function issues

조회 수: 1 (최근 30일)
Mustafa Çelik
Mustafa Çelik 2021년 8월 5일
댓글: Mustafa Çelik 2021년 8월 6일
Hi, I have a MATLAB code which reads some parameters from txt files and after calculations it creates bin files in a folder. Code works well in MATLAB but I need the C code for running it on a microcontroller. I'm trying the Coder but facing with lots of issues like "mkdir is not supported for code generation", "fileattrib is not supported for code generation", Code generation requires variable 'x' to be fully defined before subscripting it", etc. Any suggestions for syntax errors and unsupported function calls?

답변 (1개)

Darshan Ramakant Bhat
Darshan Ramakant Bhat 2021년 8월 6일
Below is the list of functions supported in MATLAB Coder ;
You can take a look at "Low-Level File I/O" category.
  댓글 수: 1
Mustafa Çelik
Mustafa Çelik 2021년 8월 6일
Yes i know but I didn't see any alternatives for 'mkdir','fileattrib' and 'dlmread'.

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

카테고리

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

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by