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

1 vue (au cours des 30 derniers jours)
OSCAR ZAMORA PICAZO
OSCAR ZAMORA PICAZO le 20 Avr 2016
Commenté : Walter Roberson le 20 Avr 2016
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 commentaires
Gordon
Gordon le 20 Avr 2016
In the callback for that button you can use the command
winopen 'YourFile.xlsx'
Walter Roberson
Walter Roberson le 20 Avr 2016
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')

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by