Command similar to 'ASSERT' (in python) in Matlab?

Is there a command in Matlab that serves the same purpose of 'ASSERT' command in Python?

 Accepted Answer

of course
doc assert
!

1 Comment

Obviously! Turns out I typed 'help asert' in matlab command window which is why it couldn't locate it. Thanks.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!