message 2

MESSAGE is a suppressible version of fprintf that functions similarly to WARNING.

You are now following this Submission

MESSAGE Displays a message in the command window. This is an alternative to WARNING, avoiding the automatic text "Warning: ", and also allowing for more flexible formatting, based on FPRINTF.

The origin of this program came from Todd Pataky's "message". Please see the acknowledgment for the details.

Cite As

Hongbing Hu (2026). message 2 (https://www.mathworks.com/matlabcentral/fileexchange/15267-message-2), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: message

Categories

Find more on Scope Variables and Generate Names in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Improvement for unspecified message IDs.