이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
Simulink 디버거
Simulink® 디버거를 사용하여 모델에서 특정 블록, 파라미터 또는 상호 연결에 대한 문제 추적
Simulink 디버거를 사용하면 한 번에 하나의 메서드에 대한 시뮬레이션을 실행하고 각 메서드를 실행한 결과를 검토할 수 있습니다. 모델 시뮬레이션이 진행됨에 따라 Simulink 편집기 내에서 블록 상태, 블록 입력 및 출력, 블록 메서드 실행에 대한 정보를 표시할 수 있습니다. 이를 통해 모델에서 특정 블록, 파라미터 또는 상호 연결에 대한 문제를 찾아낼 수 있습니다.
Simulink 디버거를 사용하면 다음을 수행할 수 있습니다.
단일 주 시간 스텝 중에 단일 블록 동특성(예: 출력 및 업데이트) 모니터링.
주 시간 스텝을 실행하는 동안 시스템 상태 확인.
단일 주 시간 스텝 중에 솔버 동특성 관찰.
Simulink 디버거는 실행할 모든 디버거 명령에 대해 활성화된(시작된) 상태여야 합니다.
Simulink는 시뮬레이션 스텝 지정기를 사용한 디버그도 지원합니다. 시뮬레이션 스텝 지정기를 사용하면 시뮬레이션을 앞뒤로 스텝 이동하여 데이터를 확인하고 시스템이 상태를 언제 어떻게 변경하는지 검사할 수 있습니다. 자세한 내용은 항목을 참조하십시오.
함수
sldebug | 디버그 모드에서 시뮬레이션 시작 |
Simulink 디버거 명령
ashow | Identify and highlight algebraic loops in simulation debugging session |
atrace | Configure simulation debugging session to display information each time algebraic loop is solved |
bafter | Insert breakpoint after specified method in simulation debugging session |
break | Insert breakpoint before specified method in simulation debugging session |
bshow | Highlight block in model with specified block ID during simulation debugging session |
clear | Clear breakpoint in simulation debugging session |
continue | 시뮬레이션 계속 |
disp | 시뮬레이션이 중지될 때 블록의 I/O 표시 |
ebreak | Set or clear breakpoint to pause when solver error occurs in simulation debugging session |
elist | Display execution order in simulation debugging session |
emode | Switch between accelerator and normal mode during simulation debugging session |
etrace | Configure simulation debugging session to display information when entering and exiting methods |
help | Display help for Simulink debugging programmatic interface during simulation debugging session |
nanbreak | Set or clear breakpoint to pause when Inf or
NaN value occurs in simulation debugging session |
next | Progress simulation debugging session to start of next method in model execution list |
probe | Display input, output, and state data for specified block in simulation debugging session |
quit | 시뮬레이션 디버거 중지 |
rbreak | Configure simulation debugging session to pause before solver reset |
run | 시뮬레이션이 완료될 때까지 실행 |
slist | Display sorted list of blocks in model during simulation debugging session |
states | 현재 상태 값 |
status | Display options used in current simulation debugging session |
step | Advance simulation by specified increment |
stimes | Display information about sample times in model during simulation debugging session |
stop | 시뮬레이션 중지 |
strace | Display solver information in simulation debugging session |
systems | List nonvirtual subsystems in model or model hierarchy during simulation debugging session |
tbreak | Set or clear breakpoint that pauses simulation debugging session at specified time |
trace | 블록이 실행될 때마다 블록의 I/O 표시 |
undisp | Remove display point in simulation debugging session |
untrace | Remove trace point in simulation debugging session |
where | Display current location within simulation loop during simulation debugging session |
xbreak | Set or clear breakpoint to pause when state limits step size in simulation debugging session |
zcbreak | Configure simulation debugging session to pause when nonsampled zero-crossing events occur |
zclist | List blocks that detect zero crossings in simulation debugging session |
도움말 항목
- Simulink Debugging Programmatic Interface
Learn the basics of the Simulink debugging programmatic interface.