makeBanner - Big ASCII Style Comment Generator

Keep your scripts organized! Render any string as a 6‐line banner in MATLAB comment notation. Supports A-Z, 0-9, and limited symbols.

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

I developed a MATLAB utility function makeBanner.m that renders any string as a comment-block banner in your code, using manually designed ASCII-style characters.
  • Two font modes: 'big' (6 rows, block-style) and 'mini' (3 rows, compact).
  • Supports A–Z, 0–9, and a bunch of symbols (. , : ; ? ! & - _ / \ space).
  • Prints in comment format with borders so you can drop banners directly into code as headings.
  • Perfect for making sections in scripts more readable (and a bit more fun).
Example usage:makeBanner('demo') % mini font (default)
makeBanner('demo','big') % big font
Drop any of these commands in your command window while editing a script and it will print out the banner ready for copying. Hope you people enjoy it as I do =)

Cite As

Eli Farber (2026). makeBanner - Big ASCII Style Comment Generator (https://www.mathworks.com/matlabcentral/fileexchange/181715-makebanner-big-ascii-style-comment-generator), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Fixed missing space on big 'R' character, few aesthetic touchups.

1.1.3.1

Fixed missing space in the bottom lines of the big 'W' character that caused a lag

1.1.3

Updated descrpition

1.1.2

Added backslash and forward slash symbols for both fonts

1.1.1

Added smaller 3-line font (you can either print it as default or use the 6-line bigger font with second input as 'big')
For example makeBanner(string, 'big') will print the big one.
Both fonts support the same symbols and all digits and letters.

1.1

Added smaller 3-line font for banner using makeBanner(string, 'mini'), including all digits and symbols.

1.0.0