Generate warning when condition is violated, simialr to ASSERT.
Function is meant to work similarly to ASSERT, but throw a warning instead of an error.
(not to be confused with assertWarning function in the unit test framework. )
Modelled on built in functions Warning and Assert.
Citation pour cette source
christhechris (2025). assertWarn.m (https://fr.mathworks.com/matlabcentral/fileexchange/47680-assertwarn-m), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2014a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Test Execution dans Help Center et MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.1.0.0 | fix tags |
||
| 1.0.0.0 |
