Azzera filtri
Azzera filtri

How to get details of variables?

6 visualizzazioni (ultimi 30 giorni)
Zar
Zar il 16 Feb 2023
Risposto: Image Analyst il 16 Feb 2023
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 Commenti
DGM
DGM il 16 Feb 2023
What exactly is the question?
Askic V
Askic V il 16 Feb 2023
Type "whos" in the command windows to get more information about the variables.

Accedi per commentare.

Risposta accettata

Image Analyst
Image Analyst il 16 Feb 2023
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

Più risposte (0)

Categorie

Scopri di più su Dictionaries in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by