Running a command in the console so it appears in the history
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
com.mathworks.mlservices.MLCommandHistoryServices can be used to get and remove the history but is there a way to append something? For example, I'd like to run '%foo bar' in the command console and and have it appear as the last line in history (up key recovers it).
com.mathworks.mlservices.MLExecuteServices.consoleEval allows me to evaluate something in in the context of the console but it doesn't get appended to the history.
Any ideas?
Thanks
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Entering Commands en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!