S funtion block inputs

조회 수: 13 (최근 30일)
Apurv
Apurv 2014년 1월 8일
답변: Kaustubha Govind 2014년 3월 13일
Hallo, I am simulating a S function block which contains several libraries. I want to input several variables to this s function block (about 30). Most of these variables need to be initialized and some of them need to be used as step inputs. For variables that need to be initialised (about 25), which is the best way to input these variables? Is it possible to use an array as an input? Are there any other ways possible? These variables are of different datatypes. I am using Simulink 2010b 32 bit Thank you and have a nice day, Apurv Koregave

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2014년 3월 13일
If the (25 or so) variables do not change during run-time, you might want to make them parameters of the S-function.

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by