How can I suppress the text output of "feature dumpmem" command?

1 回表示 (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2009 年 6 月 27 日
When I use the FEATURE command to determine the largest available block of contiguous memory as follows:
feature('DumpMem')
I receive the following output,
Module Base In Use Free
======================================================== ======== ======== ========
<anonymous> 00010000 00001000 0000f000
<anonymous> 00020000 00001000 0000f000
<anonymous> 00030000 00003000 0000d000
<anonymous> 00040000 00100000* 00000000
<anonymous> 00140000 00010000 00000000
<anonymous> 00150000 00010000 00000000
<anonymous> 00160000 00016000 0000a000
<anonymous> 00180000 0003d000 00003000
<anonymous> 001c0000 00041000 0000f000
<anonymous> 00210000 00006000 0000a000
[snip]
Totals 13ab5000 6c54b000
Largest available memory block is 1237188608 bytes (1179.88 MB) located at address 11190000

採用された回答

MathWorks Support Team
MathWorks Support Team 2009 年 6 月 27 日
To suppress the text output of the FEATURE command, download the attached files and execute the following code:
[num, str]=memavailable
MEMAVAILABLE returns the numerical number of bytes in NUM, and a string representation in STR.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDownloads についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by