필터 지우기
필터 지우기

How do I execute S-function Block from .m script.

조회 수: 1 (최근 30일)
Takehana Takasi
Takehana Takasi 2022년 10월 5일
편집: Fangjun Jiang 2022년 10월 5일
The model has S-function block.
This S-function block purpose is to run building process.
If I double-click this S-function block, matlab run building process for making *.dll file.
I want to execute these process from *.m file.
What do I use matlab function?

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2022년 10월 5일
편집: Fangjun Jiang 2022년 10월 5일
Select the block, right click, select "Properties ...".
Click the "Callbacks" tab, select OpenFcn, there should be some type of commands there.
That is the function or command that you can use in your M-script to achieve the same as double clicking the block.

카테고리

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

태그

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by