append a text file to structure

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?

Réponses (1)

Walter Roberson
Walter Roberson le 19 Sep 2019

0 votes

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.

Question posée :

le 19 Sep 2019

Modifié(e) :

le 23 Sep 2019

Community Treasure Hunt

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

Start Hunting!

Translated by