A little help in understanding a function
1 回表示 (過去 30 日間)
古いコメントを表示
function DB = DBInit()
DB.Records = [];
DB.Template = {};
end
what's the diffrence between [] and {}?
0 件のコメント
採用された回答
Azzi Abdelmalek
2013 年 5 月 14 日
編集済み: Azzi Abdelmalek
2013 年 5 月 14 日
a=[] % is a 0x0 (empty) double array
a={} % is a 0x0 (empty) cell array
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!