Not able to load file formats other than MATLAB files in Octave

Viewed 115

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'

Error-not able to find the text file

1 Answers

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.

Related