Main Content

이 페이지는 기계 번역을 사용하여 번역되었습니다. 영어 원문을 보려면 여기를 클릭하십시오.

시뮬레이션을 제어하는 앱 만들기

앱 디자이너를 사용하여 Simulink® 시뮬레이션과 상호 작용하는 사용자 지정 앱을 대화형 방식으로 빌드

앱 디자이너를 사용하여 Simulink 시뮬레이션과 상호 작용하는 사용자 지정 앱을 빌드합니다. 앱을 대화형 방식으로 구성하면 다음을 수행할 수 있습니다.

  • 특화된 Simulink UI 컴포넌트를 사용하여 시뮬레이션 실행 또는 일시 중지, 진행률 보기와 같은 일반적인 작업을 수행할 수 있습니다.

  • UI 컴포넌트를 모델의 변수에 연결하여 시뮬레이션이 실행되는 동안 모델 변수를 조정할 수 있습니다.

  • 시간 스코프 UI 컴포넌트를 모델의 신호에 연결하여 시뮬레이션 결과를 시각화할 수 있습니다.

시작하려면 Create App for Simulink Model 항목을 참조하십시오.

함수

모두 확장

uitimescopeDisplay time-domain signals in app (R2024a 이후)
uisimdatabuttonCreate buttons to save or load simulation data in app (R2024a 이후)
uisimcontrolsCreate simulation controls in app (R2024a 이후)
uisimprogressDisplay simulation progress bar in app (R2024a 이후)
uisimvartunerCreate a model variable tuner UI component in an app (R2024a 이후)
bindConnect app components to simulation signals and variables (R2024a 이후)
findbindingsFind bindings between objects (R2024a 이후)

시뮬레이션 구성

setExternalInputSpecify external input data for top-level input ports using SimulationInput or Simulation object
setInitialStateSpecify initial state for simulation using SimulationInput or Simulation object
setVariableSimulationInput 또는 Simulation 객체를 사용하는 시뮬레이션에 대한 변수 값 설정
setModelParameterSet model parameter values for simulation using SimulationInput or Simulation object
setBlockParameterSet block parameter values for simulation using SimulationInput or Simulation object

시뮬레이션 실행 제어

initializeInitialize simulation represented by Simulation object (R2024a 이후)
startStart simulation represented by Simulation object (R2024a 이후)
stepAdvance simulation represented by Simulation object by specified amount (R2024a 이후)
pausePause active simulation represented by Simulation object (R2024a 이후)
resumeContinue paused simulation represented by Simulation object (R2024a 이후)
stopStop simulation represented by Simulation object (R2024a 이후)
terminateTerminate simulation represented by Simulation object (R2024a 이후)

객체

모두 확장

BindingConnection between app components and simulation signals and variables (R2024a 이후)
SimulationControl simulation execution and tune variable, block parameter, and model parameter values (R2024a 이후)

속성

모두 확장

TimeScope PropertiesControl time scope UI component appearance and behavior (R2024a 이후)
LoadInputButton PropertiesControl load input button UI component appearance and behavior (R2024a 이후)
SaveOutputButton PropertiesControl save output button UI component appearance and behavior (R2024a 이후)
SimulationControls PropertiesManage simulation controls UI component appearance and behavior (R2024a 이후)
SimulationProgress PropertiesControl simulation progress bar appearance and behavior (R2024a 이후)
VariableTuner PropertiesControl variable tuner behavior and appearance (R2024a 이후)

도움말 항목