Error message in the GUI

Hello,
I have been using a specific software (CONN) through MATLAB over the past couple of months, everything was fine, however, an error message has come up in the GUI recently:
'Error in conn_qaplotsexplore/conn_qaplotsexplore_update (line 735)
dlg.dataD=sqrt(convn(convn(sum(dlg.dataD.^2,3),conn_hanning(3)/2,'same'),conn_hanning(3)'/2,'same')./max(eps,.01*mean(temp(:))+temp));
Error while evaluating UIControl Callback.'
I am not sure I understand the error message. Is there anything related to a potential update?
Any advice would be greatly appreciated.
Thank you.
Kind regards,
Hugo

6 件のコメント

Rik
Rik 2020 年 6 月 25 日
This not the complete error message. Please post all the red text.
Hugo Morandini
Hugo Morandini 2020 年 6 月 25 日
Sure.
I have reinstalled the software and now I get this message:
'Out of memory. Type "help memory" for your options.
Error in conn_qaplotsexplore/conn_qaplotsexplore_update (line 733)
dlg.dataS=sqrt(mean(dlg.dataD.^2,4)); %std(dlg.dataA,1,4);
Error while evaluating UIControl Callback.'
When I type 'memory', I get this:
Maximum possible array: 572 MB (6.003e+08 bytes) *
Memory available for all arrays: 572 MB (6.003e+08 bytes) *
Memory used by MATLAB: 9678 MB (1.015e+10 bytes)
Physical Memory (RAM): 8087 MB (8.480e+09 bytes)
* Limited by System Memory (physical + swap file) available.
Thank you.
Rik
Rik 2020 年 6 月 25 日
That GUI is storing some really big arrays apparently. Short of buying more system memory I don't have a solution for you. I might have a suggestion if you attach the complete function, but memory optimization is not an easy task.
Hugo Morandini
Hugo Morandini 2020 年 6 月 25 日
Thanks for that.
Would it be possible to clear the old variables/arrays from memory and free some space?
I have saved my data on an external hard drive.
The whole function is massive. Should I paste it here?
Rik
Rik 2020 年 6 月 25 日
It might be possible to clear some variables, but without seeing the function it is hard to tell. This is one of the few occasions where clear all might be worth a try.
Please don't paste any code longer than about 50 lines as text. You can attach the m file instead.
Hugo Morandini
Hugo Morandini 2020 年 6 月 25 日
Please find attached the file.
Thank you.

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeApp Building についてさらに検索

質問済み:

2020 年 6 月 25 日

コメント済み:

2020 年 6 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by