필터 지우기
필터 지우기

How to debug effectively inside MATLAB function block in Simulink?

조회 수: 4 (최근 30일)
VIGNESH BALAJI
VIGNESH BALAJI 2023년 10월 31일
댓글: VIGNESH BALAJI 2024년 2월 19일
Debugging in MATLAB is easy as all the variables are present in the workspace.
In Simulink, We need to add scopr to debug and especially if I use a MATLAB function block and have local variables, I want to check the values of them without printing them or taking them out of the block as an output and seeing them in scope or Display block. Can anyone please let me know effective ways to debug these kind of code. I am looking forward for your answers :)

답변 (1개)

madhan ravi
madhan ravi 2023년 11월 26일
Debugging MATLAB Function Block is the same as you would normally debug MATLAB Code. Additional advantage is that you can watch the variables in Symbols Pane.

카테고리

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

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by