Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
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`.
Zitieren als
tommsch (2026). Inject error in function (https://de.mathworks.com/matlabcentral/fileexchange/83283-inject-error-in-function), MATLAB Central File Exchange. Abgerufen .
Quellenangaben
Inspiriert von: tracer4m
Allgemeine Informationen
- Version 1.0.1 (1,5 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.0.1 | Changed summary description |
||
| 1.0.0 |
