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 ExchangeFile Operations についてさらに検索

製品

リリース

R2017b

タグ

質問済み:

2020 年 3 月 2 日

回答済み:

2020 年 3 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by