Reputation: 23
Octave can easily load MATLAB files, for example load('names.m')
. But while trying to load file formats other than MATLAB file format like load('names.txt')
I am getting an error:
error: load: unable to determine file format of 'names.txt'
Upvotes: 2
Views: 370
Reputation: 121
Octave supports matlab file formats . But to load text files use the following code in terminal load('-ascii','names.txt');
This will load the text file without showing any error.
Upvotes: 5