Matlab code using mscript

how to read and write the .c file contents by matlab code..?
PFA of file in text but original it is in .C extension.

Respuestas (1)

Image Analyst
Image Analyst el 9 de Mzo. de 2020

0 votos

Try fileread() or fgetl() to read. To write, try fprintf().

Categorías

Más información sobre File Operations en Centro de ayuda y File Exchange.

Productos

Versión

R2017b

Etiquetas

Preguntada:

el 2 de Mzo. de 2020

Respondida:

el 9 de Mzo. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by