I need help exporting data from table in Matlab GUI to excel

1 回表示 (過去 30 日間)
Miss B
Miss B 2020 年 3 月 25 日
コメント済み: Halil AYDIN 2021 年 11 月 17 日
Hello everyone!
Hope all is well and in good health.
So where do i start?
I want to know if I created a 'Table' in GUI whereby a user inputs data - how will I go about exporting this table in a Excel Spreadsheet?
I read up on using xlswrite(filename,A,sheet) - How would I use this where appropiate?
For instance, for my homework - I need to make a table where 'Students' will input their grades and the 'data' will then export to Excel Spreadsheet for them to keep.
I'm awfully confused.
Any help would be appreciated.
Thank you.

採用された回答

Ameer Hamza
Ameer Hamza 2020 年 3 月 25 日
The attached app to see how you can create a GUI table in the app designer and save its content in an MS Excel file.
  12 件のコメント
Ameer Hamza
Ameer Hamza 2020 年 3 月 25 日
How did you create this line
function varargout = save_document_OutputFcn(hObject, eventdata, handles)
Are you using GUIDE?
Halil AYDIN
Halil AYDIN 2021 年 11 月 17 日
How to export colored UITable data to excel? The code above works but I want to colored specific cells and export all data with colored. There must be a way to get colored excel sheet from UI table.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by