How can I open an Excel file from a push button in GUI of Matlab?

조회 수: 1 (최근 30일)
OSCAR ZAMORA PICAZO
OSCAR ZAMORA PICAZO 2016년 4월 20일
댓글: Walter Roberson 2016년 4월 20일
I have this push button called "Datos mecánicos conductores", and when pushing it I want an Excel file to open, so that I can modify some cells of it.
  댓글 수: 2
Gordon
Gordon 2016년 4월 20일
In the callback for that button you can use the command
winopen 'YourFile.xlsx'
Walter Roberson
Walter Roberson 2016년 4월 20일
Gordon, you should post that as an Answer, as it is correct.
You would probably be better off using function form, though,
winopen('YourFile.xlsx')

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

답변 (0개)

카테고리

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