version (27.8 KB) by Mark Brown
JPRINTF allows printing formatted text to separate windows using MATLAB, Simulink, or Stateflow.


Updated 27 Jun 2011

View License

JPRINTF is a general replacement for the built-in fprintf function. In addition to printing to a file or the command window, JPRINTF can print formatted output to one or more text windows. The text windows resemble the command window and can be independantly positioned, editted, and printed.

The pull-down menus perform these functions:

File: open, save, save as, page setup, print, close

Edit: cut, copy, paste, select all, clear all

Format: font, foreground color, background color, wrap (on/off)

JPRINTF is programmed entirely in MATLAB and Java. It should work on any platform supported by The Mathworks. Included is a Simulink library that allows use of JPRINTF from within Simulink and Stateflow.

Cite As

Mark Brown (2022). jprintf (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
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!