MATLAB Answers

append a text file to structure

6 views (last 30 days)
Sonima
Sonima on 19 Sep 2019
Edited: Sonima on 23 Sep 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?

  0 Comments

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 19 Sep 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.

  0 Comments

Sign in to comment.

Sign in to answer this question.


Translated by