Error while evaluating uicontrol Callback
1 回表示 (過去 30 日間)
古いコメントを表示
I am encountering a weird problem.
I use my personal computer to run matlab on a remote linux server (connection via ssh). Inside Matlab I run a toolbox that opens a GUI. When I use my laptop to run the Matlab Toolbox, it works perfectly.
However, when a colleague of mine uses her windows machine to do the same i.e. connect to the server and run matlab and the toolbox, she gets a weird error saying "Error while evaluating uicontrol Callback". I am attaching a screenshot.
The matlab installation on the server is perfect as it works perfectly in my case.
What causes this matlab error? It occurs when I click on a specific button of the toolbox's GUI that is supposed to open a window to select a file.
This button calles the function as shown here: https://c4science.ch/source/CAP_Toolbox/browse/master/CAP_TB.m$1261 and never opens the GUI for file selection. Instead it throws the error.
To give more info, when I use my laptop and it works fine, I get a window as shown in the attached file named "window.png"
9 件のコメント
Jan
2022 年 2 月 23 日
Sorry, I was confused. The failing function is usejava. So the output of
which usejava -all
matters and the double value of 25th character of line 44:
S = fileread('usejava.m');
C = split(S, char(10));
C{44}
double(C{44}(25))
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Environment and Settings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!