MATLAB: I need a help when importing data by using uiimport!

datauiimport

I imported data from file.txt (the file.txt contain number as matrix) by using uiimport, but after importing data, i dont know how to call the number from the data. my code is:
A=uiimport('-file')
%then i chose the file in the Import Wizard
A =
NewTextDocument: [3x2 double]
I mean: how to show and use that matrix?

Best Answer

Le Huy, the data is accessible through
A.NewTextDocument
or, if you want to access individual elements, e.g.,
A.NewTextDocument(2,1) % get element in row 2, column 1
Related Question