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

6 views (last 30 days)
Is there a command in Matlab that serves the same purpose of 'ASSERT' command in Python?

Accepted Answer

Sean de Wolski
Sean de Wolski on 11 Jul 2011
of course
doc assert
!
  1 Comment
Peeyush
Peeyush on 11 Jul 2011
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!