How to get details of variables?

6 次查看(过去 30 天)
let supoose i run the code of file untitled i got just name in command window untitled.
clear all clc
D=15;
B=zeros(D,1);
for i=0:D-1
B(D)=i;
end
  2 个评论
DGM
DGM 2023-2-16
What exactly is the question?
Askic V
Askic V 2023-2-16
Type "whos" in the command windows to get more information about the variables.

请先登录,再进行评论。

采纳的回答

Image Analyst
Image Analyst 2023-2-16
clear all clc
D=15;
B=zeros(D,1);
for i=0:D-1
B(D)=i;
end
whos D
Name Size Bytes Class Attributes D 1x1 8 double
whos B
Name Size Bytes Class Attributes B 15x1 120 double
D
D = 15
B
B = 15×1
0 0 0 0 0 0 0 0 0 0

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Dictionaries 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by