フィルターのクリア

Memory and mxFree, mxDestroyArray

3 ビュー (過去 30 日間)
uli terlinden
uli terlinden 2013 年 2 月 28 日
Hi, my question is concerning some trouble with memory of an application
fuction:
for(l=0; l<10001, l++){
... allocate Memory ...
... create mxArray ...
for(k=0; k<10001, k++){
//calculate some values out of l and k;
... write into "mxCalloc"- memory ...
}
... put values in a mxArray ...
... save mxArray to matFile ...
... destroy mxArray ...
... Free "mxCalloc"-memory ...
}
end function
That is my loop, but it does produce an out of memory-error ... Some idea why ??
Greetings,
uli
  3 件のコメント
James Tursa
James Tursa 2013 年 2 月 28 日
Please post your code.
uli terlinden
uli terlinden 2013 年 3 月 6 日
Yes, sure it is not telling much about my code, but at least i only intended to post quite a "general" question. My abbreviations were certainly sort of misleading i guess, but the calculations are quite lengthy, so I thought i'd better shorten my quotes here .... I got it all working now by the way, and i'm sorry for replying this late on your comments.
Thanks anyway and Greetings

サインインしてコメントする。

採用された回答

uli terlinden
uli terlinden 2013 年 3 月 6 日
編集済み: uli terlinden 2013 年 3 月 6 日
.....done... Just comment on this, if you like to know more about the issue and have a nice day.

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by