pan uiaxes appdesigner coding for pre and post callback behaviour

1 view (last 30 days)
I can enable the pan mode in uiaxes via this line of code:
pan(app.UIAxes,'on');
but it throws error when i want to run the Example 5 — Coding Pre- and Post-Callback Behavior from the pan documentation.
h = pan(app.UIAxes,'on');
h.ActionPreCallback = @myprecallback;
h.ActionPostCallback = @mypostcallback;
h.Enable = 'on';
Any callback workaround for this or uiaxes have no access for callback in appdesigner?

Answers (0)

Categories

Find more on App Building in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!