How do I edit contents of variables displayed on workspace window?

and also, what if I suppress an output from via mathematical expression and it still shows up in the workspace window?
Thanks.

Answers (1)

v=10;
display(v)
% to clear a variable
clear v
% to change a variable v
v=20
You can also click on your variable in workspace windows to edit your variable

This question is closed.

Asked:

on 25 Aug 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!