How can i transfer data from Matlab to Excel?

2 visualizaciones (últimos 30 días)
MOUSSA FALL
MOUSSA FALL el 15 de En. de 2023
Comentada: Kunal Kandhari el 16 de En. de 2023
I have no idea on how to write a code for transfering data from matlab to excel on appdesigner. i search a code but i just see code on how to transfer data from excel to matlab on appdesigner.

Respuestas (1)

Kevin Holly
Kevin Holly el 15 de En. de 2023
If you have data in a UITable and want to save it to a spreadsheet, you could create a callback function for a pushbutton to save the data to an Excel file.
You can access data with app.UITable.Data and save with the writetable function.
  4 comentarios
MOUSSA FALL
MOUSSA FALL el 16 de En. de 2023
I'm not understanding what you want to say
Kunal Kandhari
Kunal Kandhari el 16 de En. de 2023
@MOUSSA FALL You need to change the first line of the function from this
sDispo = app.StockDisponibleEditField.value;
to this
sDispo = app.StockDisponibleEditField.Value;
Note: 'fields' are case sensitive.

Iniciar sesión para comentar.

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by