append a text file to structure

3 次查看(过去 30 天)
Sonima
Sonima 2019-9-19
编辑: Sonima 2019-9-23
Hi All.
I have a structure generated from a matlab simulation which I want to append the txt. Any idea how should I do this?

回答(1 个)

Walter Roberson
Walter Roberson 2019-9-19
fileread() is the easiest way.
However if your file happens to contain utf8 characters I would want to double check whether fileread reads byte by byte or if it recognizes the utf8 and converts to appropriate character.

类别

Help CenterFile Exchange 中查找有关 String Parsing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by