pwPause


 pwPause(p)

 Pauses Matlab.

 

Arguments for pwPause

 p   If > 0: Will pause for p seconds.
     If = 0: No pause
     If < 0: The user has to press a key to continue
     If unspecified or empty:
     p = config.general.pause;

 

Description

 The strength of this pause function is that its duration
 can be set in a single item of the PottersWheel configuration.
 (This assumes that no argument is passed to pwPause.)
 Therefore it is possible to pause a PottersWheel Macro
 or a custom Matlab script during developmentat at
 several code positions and to switch to uninterrupted batch
 processing by simply setting config.general.pause to 0.

See also

pwSetConfig