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.

回答(1 个)

Image Analyst
Image Analyst 2020-3-9

0 个投票

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

类别

帮助中心File Exchange 中查找有关 File Operations 的更多信息

产品

版本

R2017b

标签

Community Treasure Hunt

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

Start Hunting!

Translated by