Applies to version: 1.0.0

View the code

Go to function

amt_disp - AMT-specific overload of the function 'disp'




amt_disp(X); can be used to show message X in the command window. The output of amt_disp depends on the start-up configuration of the AMT.

When the AMT is started in the default mode (verbose), amt_disp will display behaving as the Matlab/Octave funtion disp(), however, the output will not appear in the web documentation. When the AMT is started in the silent mode, amt_disp will never display. See amt_start for further explanation on the start-up configurations.

amt_disp(X,'volatile'); can be used as volatile progress indicator. Any subsequent call of the amt_disp will delete the previous volatile message. This way a changing progress can be clearly shown even in loops. As the default messages, the volatile messages will not appear in the web documentation case. After the last usage of 'volatile' call amt_disp(); to fix the output and prevent subsequent deletions.

amt_disp(X,'documentation'); can be used for information interesting to be displayed in the web documentation.

amt_disp(X,'silent'); does not output at all. This is one of the available modes of the AMT.

amt_disp(X,'no_debug'); does neither output at all. amt_disp(X,'debug'); does output and combined with no_debug, it can be used to implement a function in which the user defines the level of information to be displayed by passing a flag. For example,:

definput.flags.disp = {'no_debug','debug'};
amt_disp('Displayed only when flag debug provided',flags.disp);