How to parse text printed to command window?

조회 수: 19 (최근 30일)
M56802
M56802 2023년 4월 16일
답변: Walter Roberson 2023년 4월 16일
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?

답변 (1개)

Walter Roberson
Walter Roberson 2023년 4월 16일
See evalc to capture the output of executing a command.

카테고리

Help CenterFile Exchange에서 String Parsing에 대해 자세히 알아보기

태그

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by