What means "MATLAB connector is not running"?
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Bruno Luong
le 20 Mai 2022
Commenté : Bruno Luong
le 24 Mai 2022
I have a GUI app that runs fine under MATLAB, however when compiled as standalone with MCC, I get a strange warning message
"warning: MATLAB connector is not running." when doing zooming my graphics.
There are very little info I can find on this warning. Can anyone help to point me to the possible cause.
Here is a screen shot of the command window:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1005340/image.jpeg)
0 commentaires
Réponse acceptée
Yukta Maurya
le 24 Mai 2022
The below link can be followed for reference -
3 commentaires
Yukta Maurya
le 24 Mai 2022
Title
Why do I receive the warning "Warning: MATLAB Connector is not running" for my standalone application in MATLAB R2021a?
Question
For a custom application, the following warning messages appear in the command window, both within MATLAB environment as well as in the compiled application using MATLAB Compiler,
> In message.publish
In matlab.graphics.internal/FigureToolstripManager/updateActions (line 23)
In matlab.uitools.internal.FigureToolManager>locUpdateUndoUI (line 78)
In matlab.uitools.internal.FigureToolManager>locCommandStackChanged (line 58)
In matlab.uitools.internal.FigureToolManager>@(o,~)locCommandStackChanged(o,hThis) (line 45)
In matlab.uitools.internal.uiundo/CommandManager/add
In uiundo (line 26)
In zoom>localCreate2DUndo (line 1823)
In zoom>localZoomFactor2D (line 988)
In zoom>localApplyZoomFactor (line 853)
In zoom>localButtonWheelFcn (line 895)
In zoom>@(obj,evd)localButtonWheelFcn(obj,evd,hMode) (line 552)
In uiwait (line 81)
In Bueno (line 50)
Warning: MATLAB Connector is not running.
Why do I receive the warning "Warning: MATLAB Connector is not running" for my standalone application in MATLAB R2021a?
Answer
The issue was not reproducible in our side. However, adding the following line of code,
connector.ensureServiceOn;
before the call to function 'uiwait' the warning disappeared for the customer.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur MATLAB Compiler dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!