What means "MATLAB connector is not running"?

23 views (last 30 days)
Bruno Luong
Bruno Luong on 20 May 2022
Commented: Bruno Luong on 24 May 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:

Accepted Answer

Yukta Maurya
Yukta Maurya on 24 May 2022
  3 Comments
Bruno Luong
Bruno Luong on 24 May 2022
In my case it is not clear if there is an uiwait.
However it happens that I define my own ActionPostCallback of zoom and pan objects
zoomh = zoom(figh);
panh = pan(figh);
pan(figh,'off');
set(zoomh, 'ActionPostCallback', @CurvePreview_ZoomPostCallBack);
set(panh, 'ActionPostCallback', @CurvePreview_ZoomPostCallBack);
I figure out to turn off the warning by
warning('off','MATLAB:connector:connector:ConnectorNotRunning');
I'll try to replace it with
connector.ensureServiceOn;
to see how it goes

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!