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.

Réponses (1)

Image Analyst
Image Analyst le 9 Mar 2020

0 votes

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

Catégories

En savoir plus sur File Operations dans Centre d'aide et File Exchange

Produits

Version

R2017b

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by