A little help in understanding a function
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
function DB = DBInit()
DB.Records = [];
DB.Template = {};
end
what's the diffrence between [] and {}?
0 comentarios
Respuesta aceptada
Azzi Abdelmalek
el 14 de Mayo de 2013
Editada: Azzi Abdelmalek
el 14 de Mayo de 2013
a=[] % is a 0x0 (empty) double array
a={} % is a 0x0 (empty) cell array
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Data Types en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!