How to parse text printed to command window?

12 visualizaciones (últimos 30 días)
M56802
M56802 el 16 de Abr. de 2023
Respondida: Walter Roberson el 16 de Abr. de 2023
I have a .p file that prints a series of numbers to the command window, it does not put them into the workspace. I have to call this function several times and copy and pasting the numbers is getting old. Is there a way to parse the text printed into the command window and grab the numbers?

Respuestas (1)

Walter Roberson
Walter Roberson el 16 de Abr. de 2023
See evalc to capture the output of executing a command.

Categorías

Más información sobre String Parsing en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by