Main Content

이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

프로그래밍 방식으로 시뮬레이션 디버그하기

MATLAB® 명령 창에서 시뮬레이션 디버그 및 분석, 중단점 설정, 시간 스텝 단위의 순차적 실행 및 블록 메서드 단위의 순차적 실행

Simulink® 디버그 프로그래밍 인터페이스는 Simulink 편집기에서 사용할 수 있는 것과 유사한 디버그 옵션을 MATLAB 명령 창에서 제공합니다. 또한 프로그래밍 인터페이스를 사용하여 다음을 수행할 수 있습니다.

  • 한 번에 하나의 블록 메서드씩 모델을 순차적으로 실행합니다.

  • 블록 메서드에 중단점을 설정합니다.

  • 솔버 재설정 중단점과 같은 추가적인 모델 중단점을 설정합니다.

  • 비가상 서브시스템 목록을 포함하여 모델에 대한 추가 정보를 표시합니다.

시뮬레이션 디버그 세션에서 데이터 표시 및 모델 실행을 제어하는 기능은 디버그 세션을 시작한 후에만 사용할 수 있습니다.

함수

모두 확장

sldebugSimulink 모델에 대한 시뮬레이션 디버그 세션 시작
bafterInsert breakpoint after specified method in simulation debugging session
breakInsert breakpoint before specified method in simulation debugging session
clearClear breakpoint in simulation debugging session
continue시뮬레이션 디버그 세션 계속
ebreakSet or clear breakpoint to pause when solver error occurs in simulation debugging session
emodeSwitch between accelerator and normal mode during simulation debugging session
nanbreakSet or clear breakpoint to pause when Inf or NaN value occurs in simulation debugging session
nextProgress simulation debugging session to start of next method in model execution list
quit시뮬레이션 디버그 세션 종료
rbreakConfigure simulation debugging session to pause before solver reset
run중단점을 무시하고 현재 지점부터 시뮬레이션의 끝까지 시뮬레이션 디버그 세션 실행
stepAdvance simulation by specified increment
stop시뮬레이션 디버그 세션 중지
tbreakSet or clear breakpoint that pauses simulation debugging session at specified time
xbreakSet or clear breakpoint to pause when state limits step size in simulation debugging session
zcbreakConfigure simulation debugging session to pause when nonsampled zero-crossing events occur
ashowIdentify and highlight algebraic loops in simulation debugging session
atraceConfigure simulation debugging session to display information each time algebraic loop is solved
bshowHighlight block in model with specified block ID during simulation debugging session
disp시뮬레이션 디버그 세션이 일시 중지되면 지정된 블록에 대한 정보를 표시
elistDisplay execution order in simulation debugging session
etraceConfigure simulation debugging session to display information when entering and exiting methods
helpDisplay help for Simulink debugging programmatic interface during simulation debugging session
probeDisplay input, output, and state data for specified block in simulation debugging session
slistDisplay sorted list of blocks in model during simulation debugging session
states시뮬레이션 디버그 세션 중 상태 값 표시
statusDisplay options used in current simulation debugging session
stimesDisplay information about sample times in model during simulation debugging session
straceDisplay solver information in simulation debugging session
systemsList nonvirtual subsystems in model or model hierarchy during simulation debugging session
trace시뮬레이션 디버그 세션에서 블록이 실행될 때마다 지정된 블록에 대한 정보 표시
undispRemove display point in simulation debugging session
untraceRemove trace point in simulation debugging session
whereDisplay current location within simulation loop during simulation debugging session
zclistList blocks that detect zero crossings in simulation debugging session

도움말 항목