Status_Display
by Matt Fetterman
02 Jan 2010
(Updated 04 Jan 2010)
simple program that produces a status message with the name of the calling program
|
Watch this File
|
| File Information |
| Description |
This program displays a status message along with the name of the calling program or function. For example, if you are running the program Smoky.m, within the program, you could call Display_Status with the string 'Too many variables'.
Display_Status('Too many variables');
Then Display_Status would display:
Smoky.m: Too many variables
It can also be used in the same way as fprintf:
Display_Status('Too many variables:%d',NumVar);
So it is a convenient way to keep track of which program the status update is coming from. Could be useful for complex programs with many subprograms, where you are often changing filenames. |
| MATLAB release |
MATLAB 7.7 (R2008b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 04 Jan 2010 |
modified so that it can be used like fprintf with input variables |
|
Contact us at files@mathworks.com