Status_Display

simple program that produces a status message with the name of the calling program
409 Downloads
Updated 4 Jan 2010

View License

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.

Cite As

Matt Fetterman (2024). Status_Display (https://www.mathworks.com/matlabcentral/fileexchange/26245-status_display), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Debugging and Analysis in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

modified so that it can be used like fprintf with input variables

1.0.0.0