Running a script within a Simulink model?

I want to run a script, NOT a function, from within a Simulink model. I've tried adding the script name to model Callbacks such as PreLoadFcn, PostLoadFcn, InitFcn; I've tried the Matlab function block and the Interpreted MATLAB Fcn block. I've tried creating a dummy function that calls the script I want to run. Nothing works. Can Simulink call a SCRIPT?

답변 (0개)

카테고리

도움말 센터File Exchange에서 Model, Block, and Port Callbacks에 대해 자세히 알아보기

질문:

2017년 6월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by