Inject error in function

This function injects an error in an m-file at a line. Can be used to abort a function.

이 제출물을 팔로우합니다

This function (most likely) generates an error at an arbitrary line in a function. The taken approach may be used to solve the long-standing problem of breaking out of a function using a callback, without the need to modify the function in question.
It does this by quite brutal means: Namely, it injects ( via the use of dbstop ) at every line the command `clear all`.

인용 양식

tommsch (2026). Inject error in function (https://kr.mathworks.com/matlabcentral/fileexchange/83283-inject-error-in-function), MATLAB Central File Exchange. 검색 날짜: .

도움

도움 받은 파일: tracer4m

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.1

Changed summary description

1.0.0