cprintf - display formatted colored text in Command Window
Zitieren als
Yair Altman (2024). cprintf - display formatted colored text in Command Window (https://www.mathworks.com/matlabcentral/fileexchange/24093-cprintf-display-formatted-colored-text-in-command-window), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Language Fundamentals >
- MATLAB > Environment and Settings >
- MATLAB > Environment and Settings > Desktop >
Tags
Quellenangaben
Inspiriert: TextTable, r0oland/motivate-me, setPrompt - Set the Command Window prompt, TXTMENU - Text-Based Menu for the Command Window, tcprintf : ANSI colored output in terminal, ecopath_matlab: A Matlab implementation of Ecopath, Colored Calendar, Spike Extraction Tool, Lynx MATLAB Toolbox, google, English to Turkish Dictionary, Script Execution Notifier using Pushover, JSONRPC2: a set of classes to encode/decode JSON RPC messages, xPlot – Behaves Like Plot But With Built-in Tools for Interactively Displaying/Filtering Metadata
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.14 | Fixed cases of using string (not char) inputs |
|
|
1.13 | Fixed cases of invalid colors (especially bad on R2021b onward) |
|
|
1.12.0.1 | Updated the compatibility boxes to reflect that CPRINTF does NOT work starting with R2021b (only up to R2021a). No code was changed. |
|
|
1.12.0.0 | Enabled specifying color in multiple ways: as #RGB or #RRGGBB (hexadecimal codes e.g. '#a0b0FF'), or [0.1,0.7,0.3], or [26,178,76] |
|
|
1.11.0.0 | Fix by T. Hosman for embedded hyperlinks; package as a toolbox |
|
|
1.10.0.0 | Fixed a few discoloration issues (some other issues still remain) |
||
1.9.0.0 | Fix: if command window isn't defined yet (startup) use standard fprintf, as suggested by John Marozas |
||
1.8.0.0 | Fix: if command window isn't defined yet (startup) use standard fprintf, as suggested by John Marozas |
||
1.7.0.0 | Graceful degradation support for deployed (compiled) and non-desktop applications; minor bug fixes |
||
1.6.0.0 | Fixes for R2012b; added bold style; accept RGB string (non-numeric) style |
||
1.5.0.0 | Fixes for R2011b; fix by Danilo (FEX comment) for non-default text colors |
||
1.4.0.0 | Performance improvement |
||
1.3.0.0 | Minor fix for R2010a/b; fixed edge case reported by Sharron; CPRINTF with no args runs the demo |
||
1.2.0.0 | Fixed some problems reported by Andreas G, Swagat K |
||
1.1.0.0 | Fixed some problems reported by Andreas G & Swagat K |
||
1.0.0.0 |