how can we use dynamic memory allocation in matlab?
古いコメントを表示
In other words what would be the closest functions to "calloc", "malloc", "free" etc in matlab?
回答 (1 件)
Jan
2022 年 3 月 29 日
malloc and calloc is performed by:
a = zeros(1, 1e6)
A free is useful under rare conditions also (huge arrays, memory exhausted):
clear('a')
1 件のコメント
Imtiaz nabi
2022 年 3 月 29 日
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
