MATLAB: Error variable a – basic

errormatlab function

Why it gives me error when I type >> a= instead of giving me the following result >> a =
1
Before doing this, I had already type the following >>a=1

Best Answer

  • Don't type
    a =
    Just type
    a
    in command window.
    For example,
    >> a = 1;
    >> a
    a =
    1