How to initialize once a masked block
Show older comments
I have a masked block in which I add in Initialization pane the following initialization code:
disp('init')
myFunc();
disp('init end');
In myfunc() I have:
disp('in')
% other stuff
When I open my masked block, change some parameters, then press Apply or OK, the MATLAB console prints:
init
in
init end
in
in
in
in
The first three lines are as expected, but do you know why all those extra calls are done, and from where they come from ?
Answers (0)
Categories
Find more on Author Block Masks 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!