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

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

 채택된 답변

Sean de Wolski
Sean de Wolski 2011년 7월 11일

0 개 추천

of course
doc assert
!

댓글 수: 1

Peeyush
Peeyush 2011년 7월 11일
Obviously! Turns out I typed 'help asert' in matlab command window which is why it couldn't locate it. Thanks.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by