The ‘A’ variable is actually the assigned file identification number, always a scalar. It us used to refer to the file using fscanf, textscan, or certain other file import functions.
Your code needs to read the file. Here is one way to do it, there are several others —
T1 = readtable('https://www.mathworks.com/matlabcentral/answers/uploaded_files/982340/c1s1.txt', 'VariableNamingRule','preserve')
T1 =
Var1 Var2 Var3 Var4 Var5
__________ ____ _____ ______ __________
{'[' } 0 0 927.47 {'0.000;'}
{0×0 char} 1 0.004 927.47 {'0.000;'}
{0×0 char} 2 0.009 927.47 {'0.000;'}
{0×0 char} 3 0.013 927.47 {'0.000;'}
{0×0 char} 4 0.018 927.47 {'0.000;'}
{0×0 char} 5 0.022 927.47 {'0.000;'}
{0×0 char} 6 0.027 927.47 {'0.000;'}
{0×0 char} 7 0.031 926 {'0.000;'}
{0×0 char} 8 0.035 926 {'0.000;'}
{0×0 char} 9 0.04 926 {'0.000;'}
{0×0 char} 10 0.044 926 {'0.000;'}
{0×0 char} 11 0.049 926 {'0.000;'}
{0×0 char} 12 0.053 926 {'0.000;'}
{0×0 char} 13 0.058 925.44 {'0.000;'}
{0×0 char} 14 0.062 925.28 {'0.000;'}
{0×0 char} 15 0.066 925.12 {'0.000;'}
title('Time vs Encoder 1 PoS')
Plotting ‘Var4’ (that I did just to see what it was) is a bit more interesting.
.