How to initialize once a masked block
이전 댓글 표시
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 ?
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Author Block Masks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!