테스트 하네스 subsystem 실행 순서 제어
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
테스트 하네스를 실행할 때 subsystem에 대한 실행 순서를 제어하고 싶습니다.
사진의 왼쪽 시스템에 대한 시뮬레이션이 완전히 종료된 후 오른쪽의 MATLAB Function을 실행시킬 수 있는 방법이 있을까요?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1636256/image.png)
0 commentaires
Réponses (1)
Jongil Lee
le 7 Mar 2024
Déplacé(e) : Angelo Yeo
le 4 Juin 2024
안녕하세요
해당 블럭에 지정된 MATLAB 함수에 Input Argument가 없다면 Simulink Callback 함수를 이용하여 종료시에 실행되도록 수정해 보시기 바랍니다.
감사합니다.
2 commentaires
Jongil Lee
le 11 Mar 2024
Déplacé(e) : Angelo Yeo
le 4 Juin 2024
해당 함수를 Callback으로 이동 시키시면 Simulink Canvas에 있는 함수는 비활성화(주석처리)를 하고 CallBack에 넣으셔야 중복 실행을 방지할 것입니다.
원하시는 타이밍을 제어할 수 있는 신호가 있다면, Function-Call SubSystem을 사용해 보는건 어떨가요?
감사합니다.
Voir également
Catégories
En savoir plus sur Outputs dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!