Ahora está siguiendo esta publicación
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
This m-file allows you to export all text in the Command Window to a cell array of strings, each entry being a line of text from the window. The unparsed raw string is also available, if desired.
Operation is very simple - this file looks for the appropriate java object in the root window and gets text from it.
I was looking for a way to do this, particularly for error tracking in some software I maintain, and nobody seemed to have written up this method, so I present it here for you to use.
Citar como
Hugh Nolan (2026). Command window text (https://es.mathworks.com/matlabcentral/fileexchange/31438-command-window-text), MATLAB Central File Exchange. Recuperado .
Agradecimientos
Inspirado por: findjobj - find java handles of Matlab graphic objects
Información general
- Versión 1.1.0.0 (1,7 KB)
Compatibilidad con la versión de MATLAB
- Compatible con cualquier versión
Compatibilidad con las plataformas
- Windows
- macOS
- Linux
