Change default Update Function for datatips
조회 수: 5 (최근 30일)
이전 댓글 표시
Is it possible to change the default Update Function for datatips?
I know I can change it for an existing figure fig with
set(datacursormode(fig), 'UpdateFcn', @my_update_fcn)
but I'm asking if it possible to change it for all future figures that will be created after. One possible solution is to create a "new" figure command that execute the previous code before showing the window, but that doesn't seem the optimal way to do it.
댓글 수: 0
채택된 답변
Walter Roberson
2018년 6월 8일
Unfortunately, No, there is no way to configure a default for that since R2014b (there was for R2014a and before.)
댓글 수: 2
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!