access a callback from a different m file
Show older comments
Hi, I have two *.m file and to ease thing up and have less code in one of the m files I was wondering if I could access a callback in the other m file eg:
test1file.m
callback1
callback2
access callback2 in test2file.m
callback3
test2file.m
callback1
callback2
access this callback from callback2 in test1file.m
callback3
is this possible? I could copy the code from test2file.m callback2 but I'm trying to limit the amount of code.
Thank you
1 Comment
Answers (0)
Categories
Find more on Interactive Control and Callbacks 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!