error variable a - basic

1 次查看(过去 30 天)
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

采纳的回答

Ameer Hamza
Ameer Hamza 2020-9-30
编辑:Ameer Hamza 2020-9-30
Don't type
a =
Just type
a
in command window.
For example,
>> a = 1;
>> a
a =
1

更多回答(1 个)

madhan ravi
madhan ravi 2020-9-30
You don’t have to type >>
  1 个评论
Barbara Fiorani
Barbara Fiorani 2020-9-30
Hi,
I didn't type it on my command window, just typed it here in the question.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by