append a text file to structure

5 visualizaciones (últimos 30 días)
Sonima
Sonima el 19 de Sept. de 2019
Editada: Sonima el 23 de Sept. de 2019
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?

Respuestas (1)

Walter Roberson
Walter Roberson el 19 de Sept. de 2019
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.

Categorías

Más información sobre String Parsing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by