How to add script to testing environment

조회 수: 1 (최근 30일)
Anshul Kaushik
Anshul Kaushik 2023년 6월 11일
댓글: Anshul Kaushik 2023년 6월 15일
Hi , I need some help with simulink test, I have a simulink model and using the results from Simulink model I will be running a Matlab script and perform baseline test based on the result. I need to know Is it possible to call a matlab script/ function in simulink test?

답변 (1개)

Kautuk Raj
Kautuk Raj 2023년 6월 11일
Yes, it is possible to call a MATLAB script or function in Simulink Test. You can use the MATLAB Function block or the MATLAB System block to call a MATLAB function within a Simulink model.
Refer to this piece of documentation for more details.
  댓글 수: 1
Anshul Kaushik
Anshul Kaushik 2023년 6월 15일
Cant it be done using model callbacks? after simulation stops, what callback can be used to call the script and then answer at workspace?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Subsystems에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by