jprintf

JPRINTF allows printing formatted text to separate windows using MATLAB, Simulink, or Stateflow.
1.8K Downloads
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 (2024). jprintf (https://www.mathworks.com/matlabcentral/fileexchange/8641-jprintf), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Simulink Functions in Help Center and MATLAB Answers

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

Switched from JPrinterWorks to native Java print method. Window now scrolls to the bottom. Added default font (Courier New 12pt). Added rudimentary API. Added find and findnext functions. Added standard Windows keyboard shortcuts.

1.0.0.0