Q:

A data file is created as a char matrix and then saved to a file; for example,

0

>> cmat = char('hello', 'ciao', 'goodbye')

cmat =

hello 

ciao 

goodbye

>> save stringsfile.dat cmat -ascii

Can the load function be used to read this in? What about textscan?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Yes (but will store ASCII equivalents). Yes, as strings. 

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now