assertWarn.m

conditional warning, similar to ASSERT

您现在正在关注此提交

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.

引用格式

christhechris (2026). assertWarn.m (https://ww2.mathworks.cn/matlabcentral/fileexchange/47680-assertwarn-m), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 Test Execution 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.1.0.0

fix tags

1.0.0.0