How can i calculate memory cost of my program?
10 次查看(过去 30 天)
显示 更早的评论
I implement a program in matlab with many instructions, I want to compute the memory cost of the whole algorithm
0 个评论
采纳的回答
Kautuk Raj
2023-6-2
To compute the memory cost of a MATLAB program, we can use the whos function to display information about the variables in the MATLAB workspace. The whos function displays the name, size, and class of each variable, as well as the amount of memory it occupies in bytes.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!