필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Initiate simulink model with data depending on Simulink variables

조회 수: 2 (최근 30일)
Mattijs Mientki
Mattijs Mientki 2018년 1월 29일
마감: MATLAB Answer Bot 2021년 8월 20일
I would like to run a Matlab script to iniate my Simulink model. Now i am using "InitFcn Callback: Load_profiles_script3.m" which in itself works fine. However I would like to be able to set some parameters in Simulink which are used by the Matlab script. Another way I tried is using the Matlab function block. However the Matlab script contains some functions not supported by Simulink and therefore this is not possible. So my question is, can I somehow first run a part of my Simulink script (define a few parameters) , then run a Matlab script outside simulink using these parameters and then run the rest of the model?

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by