pan uiaxes appdesigner coding for pre and post callback behaviour

3 次查看(过去 30 天)
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?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by