Error using "statistics" functions after calculating EMs

7 views
Skip to first unread message

MS Remeijer

unread,
Jun 24, 2025, 3:57:32 AM6/24/25
to CellNetAnalyzer User Forum
Hello ,

When I want to use any of the statistics functions after calculating EMs, I get the following error:
Error using matlab.ui.internal.controller.uicontrol.UIControlController/triggerActionEvent (line 76)
Error while evaluating UIControl Callback.
Error using findjobj (line 193)
Error using
findjobj (line 193)
Findjobj only works with Java-based figures, not web-based (App Designer) uifigures

Error in
cnainputdlg (line 357)
set(EditHandle(lp),'KeyPressFcn',{@autocompleteText, findjobj(EditHandle(lp),'persist') , KeyPressFuncData{lp}});
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in
optmodes (line 24)
answer=cnainputdlg({'Specify ''product (excretion) reaction(s)'' (nominator of yield term):','Specify ''substrate (uptake) reactions'' (denominator of yield term):','For selection (optional): minimum yield','For selection (optional): maximum yield'},'Determination of optimal (maximal) rate ratio Y=abs(P/S) in selected modes',1,{'','','',''},'off',{cnap.reacID,cnap.reacID,[],[]});
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in
elm_statistics_start (line 29)
cnap= optmodes(cnap);
^^^^^^^^^^^^^^^^^^^^^
Error using matlab.ui.internal.controller.uicontrol.UIControlController/triggerActionEvent (line 76)
Error while evaluating UIControl Callback.

The screen to fill in e.g. the reaction you want to normalize opens and I can enter input, but the OK button does not respond.
I am using Matlab 2025a and CPLEX 22.11 (which doesn't support matlab anymore I believe, but I also have Gurobi, which seems to work if I do FBA. Is CPLEX required for this part?). Do you know what this error could stem from? 

Thanks in advance!
Kind regards,
Maaike

Steffen

unread,
Jun 24, 2025, 5:23:36 AM6/24/25
to CellNetAnalyzer User Forum
Dear Maaike,

We have not yet access to MATLAB 2025 and can thus not reproduce the error
message you encountered. I guess it is related with JAVA-based functionalities.
We will take care of that asap.

Can you meanwhile use older MATLAB versions?

Best regards,
Steffen.

Steffen

unread,
Oct 15, 2025, 7:24:16 AM10/15/25
to CellNetAnalyzer User Forum
In the just released 2025.2 version of CellNetAnalyzer,
we have resolved this issue which occurs in MATLAB version
2025a and higher.

The error message will not occur anymore, however, autocomplete
functionalities within CNA will not be  available anymore when
running MATLAB version 2025a or higher  (unfortunately, some
Java GUI objects can no longer be accessed in MATLAB).

Best,
Steffen.
Reply all
Reply to author
Forward
0 new messages