how to run block of a function only if block of another function has been ran
조회 수: 1 (최근 30일)
이전 댓글 표시
What is the most efficient way to code so that one block of function A is ran only when another block of function B has been ran?
Much thanks!
댓글 수: 1
Geoff Hayes
2016년 9월 29일
Terek - what is the relationship between function A and B? Will A always be called after B, or is it called from within B? Please clarify.
채택된 답변
Walter Roberson
2016년 9월 29일
You could potentially create a Triggered Subsystem. However it might be more appropriate to use an if block.
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!