Code traces for exploring and troubleshooting executing code
이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
Code Trace for MATLAB®
Code Trace for MATLAB is a collection of functions for creating and manipulating code traces, which can be used to help understand what is happening in code as it executes. A code trace prints a brief note to the MATLAB Command Window whenever a specific line of code is executed. A code trace might just print the function name and line number, or it might also print a label and the value of variable or expression.
Basic Usage
Call addCodeTrace with the name of a MATLAB function or script file and the line number that you want to trace:
addCodeTrace("myfunc",10)
Then, call your function as your normally would:
out = myfunc(input1,input2);
See the script GettingStarted.mlx, in the doc folder, for examples.
Installation
Code Trace for MATLAB requires MATLAB release R2019b or newer.
Download the files to a folder on your computer, and place that folder on the MATLAB Search Path.
License
The license is available in the License file within this repository.
Community Support
Copyright 2022 The MathWorks, Inc.
인용 양식
Steve Eddins (2026). Code Trace for MATLAB (https://github.com/mathworks/MATLAB-code-trace/releases/tag/v2.0.0), GitHub. 검색 날짜: .
일반 정보
- 버전 2.0.0 (457 KB)
-
GitHub에서 라이선스 보기
MATLAB 릴리스 호환 정보
- R2019b 이상 릴리스와 호환
플랫폼 호환성
- Windows
- macOS
- Linux
| 버전 | 퍼블리시됨 | 릴리스 정보 | Action |
|---|---|---|---|
| 2.0.0 | See release notes for this release on GitHub: https://github.com/mathworks/MATLAB-code-trace/releases/tag/v2.0.0 |
|
|
| 1.0.0 |


