Docs @ Psychtoolbox Wiki : psychassert

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

psychassert

PsychtoolboxPsychBasic

psychassert(expression, ...) - Replacement for Matlab 7 builtin assert().
This is hopefully useful for older Matlab installations and
for the Octave port:

If the assert-function is supported as builtin function on
your Matlab installation, this function will call the builtin
"real" assert function. Read the "help assert" for usage info.

If your Matlab lacks a assert-function, this function
will try to emulate the real assert function. The only known limitation
of our own assert wrt. Matlabs assert is that it can't handle the MSG_ID
parameter as 2nd argument. Passing only message strings or message
formatting strings + variable number of arguments should work.





Path   Retrieve current version of psychassert.m from berliOS: beta | view WebSVN changelog of trunk branch
Psychtoolbox/PsychBasic/psychassert.m


Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0766 seconds