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.

Answers (1)

Image Analyst
Image Analyst on 9 Mar 2020
Try fileread() or fgetl() to read. To write, try fprintf().

Categories

Products

Release

R2017b

Tags

Asked:

on 2 Mar 2020

Answered:

on 9 Mar 2020

Community Treasure Hunt

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

Start Hunting!