How can i calculate memory cost of my program?

조회 수: 4 (최근 30일)
Mira le
Mira le 2021년 4월 27일
답변: Kautuk Raj 2023년 6월 2일
I implement a program in matlab with many instructions, I want to compute the memory cost of the whole algorithm

채택된 답변

Kautuk Raj
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.
More details about the whos function can be found here.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Whos에 대해 자세히 알아보기

태그

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by