GPRINTF

버전 2.2.0.0 (5.8 KB) 작성자: Mark Brown
General replacement for fprintf which allows printing formatted text to separate editable window.
다운로드 수: 2.6K
업데이트 날짜: 2016/3/31

라이선스 보기

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.

인용 양식

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

MATLAB 릴리스 호환 정보
개발 환경: R13
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Entering Commands에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
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.