MATLAB Coder lots of syntax and function issues

3 visualizaciones (últimos 30 días)
Mustafa Çelik
Mustafa Çelik el 5 de Ag. de 2021
Comentada: Mustafa Çelik el 6 de Ag. de 2021
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?

Respuestas (1)

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

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB Coder en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by