필터 지우기
필터 지우기

Data Cursor

조회 수: 2 (최근 30일)
Mel
Mel 2011년 5월 12일
Is there any way to export the data cursor information to an excel sheet rather than to the command window?

채택된 답변

Doug Hull
Doug Hull 2011년 5월 13일
If you can get data to the command window, then you can use XLSWRITE to bring it to Excel.

추가 답변 (1개)

Mel
Mel 2011년 5월 16일
I don't understand. In the command window I simply need to type: cursor_info.Position I tried the following in my gui and it doesnt seem to work: strfil=strrep(handles.sig_file,'.txt',''); xlswrite(strfil,cursor_info.Position,'A1'); It says the following error in the command window: undefined variable cursor_info
  댓글 수: 3
Mel
Mel 2011년 5월 16일
I tried that and I get the following error:
??? Error using ==> evalin
Unknown command option.
Walter Roberson
Walter Roberson 2011년 5월 16일
Sorry, I should have said
xlswrite(strfil, evalin('base','cursor_info.Position'), 'A1')

댓글을 달려면 로그인하십시오.

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by