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 Comments

Rik
Rik on 25 Jun 2020
This not the complete error message. Please post all the red text.
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 on 25 Jun 2020
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.
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 on 25 Jun 2020
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.
Please find attached the file.
Thank you.

Sign in to comment.

Answers (0)

Categories

Find more on App Building in Help Center and File Exchange

Asked:

on 25 Jun 2020

Commented:

on 25 Jun 2020

Community Treasure Hunt

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

Start Hunting!