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.
64 Downloads
Updated 23 Sep 2025

View License

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 (2025). makeBanner - Big ASCII Style Comment Generator (https://uk.mathworks.com/matlabcentral/fileexchange/181715-makebanner-big-ascii-style-comment-generator), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2025a
Compatible with any release
Platform Compatibility
Windows macOS Linux

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.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