setPrompt - Set the Command Window prompt
Sets the Command Window prompt to the specified string
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
Yair Altman (2026). setPrompt - Set the Command Window prompt (https://www.mathworks.com/matlabcentral/fileexchange/26471-setprompt-set-the-command-window-prompt), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: cprintf - display formatted colored text in Command Window
General Information
- Version 1.4.0 (4.64 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.4.0 | Updated submission title (no code change) |
||
| 1.3.0 | Fixed for R2014a & R2014b |
||
| 1.2.0 | Fixed a few edge-cases (some reported by J.G. Dalissier) with '>> ' terminated prompts; fixed a few problems with continuous timestamps; enabled customizing continuous timestamp prompts; added Mac warning |
||
| 1.1.0 | Fixed a few edge cases (some inspired by J. Raymond); added continuously-updated timestamp option |
||
| 1.0.0 |