Hello every one,
I use the matlab function memory () to calculate the memory cost of my matlab program the result is as follow:MemUsedMATLAB: 1.6919e+09
I have to many value like that I save them in Excel table so how can I convert these values to Mega byte.
Thank you

 채택된 답변

dpb
dpb 2021년 6월 18일
편집: dpb 2021년 6월 18일

0 개 추천

>> m=memory;
>> sprintf('%.0f MB',m.MemUsedMATLAB/(1024^2))
ans =
'2305 MB'
>>

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

제품

릴리스

R2017a

태그

질문:

2021년 6월 18일

편집:

dpb
2021년 6월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by