GPRINTF

General replacement for fprintf which allows printing formatted text to separate editable window.
2,6K descargas
Actualizado 31 mar 2016

Ver licencia

GPRINTF is a general replacement for the built-in fprintf function. In addition to printing to a file or the command window, GPRINTF can print formatted output to one or more display windows. Each display window has automatic scroll bars and can be independantly positioned and editted. This distribution includes an S-function wrapper for use with Simulink.
Features include:
File: open, save, save as, close
Edit: cut, copy, paste, clear
Format: font, wrap (on/off)
Automatic vertical / horizontal scroll bars
Full access to text and display properties via object handle.

Example:
>> gprintf(-1,'pi is approximately = %6.4f\n',pi)
>> gprintf(-1,'HELLO WORLD\n')

creates "Display Box 1" with the string "pi is approximately = 3.1416" on the first line and "HELLO WORLD" on the second line. Use the pull-down menus to customize the display or save its contents to a file.

Citar como

Mark Brown (2024). GPRINTF (https://www.mathworks.com/matlabcentral/fileexchange/1780-gprintf), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R13
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Entering Commands en Help Center y MATLAB Answers.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
2.2.0.0

Added BSD License.

1.0.0.0

GPRINTF has been superseded by JPRINTF. The new JPRINTF has the same functionality, but is completely written in Java and is platform independent. GPRINTF users are urged to switch to JPRINT. GPRINTF will no longer be maintained.