how to build a gui that upload excel file and then calculate trendline acording to dates that the user wants

2 visualizaciones (últimos 30 días)
i got a small task for college to build a gui that upload excel file . then calculat trendline acording to specific dates the the user put in in the gui plus i need to put an option of time there...short tem lets sey a month or long term lets sey a year. so pleas can some one help me ? i need to do it in 3 days.
  5 comentarios
Francheska Payongayong
Francheska Payongayong el 21 de Mayo de 2018
May I ask how you wrote your code? I have a push button, and it creates a pop-up menu that stands as a file browser. However, when I run the program and then select a file to open it with, it doesn't work. :( My code only looks like this for the push button:
app.Import.Enable = 'on';
[FileName,PathName] = uigetfile({'*.xlsx'},'File Selector');
I was also hoping you could help me on how to generate a table from the excel file a user would open :( thank you for answering! :)

Iniciar sesión para comentar.

Respuestas (1)

Benjamin Kraus
Benjamin Kraus el 21 de Feb. de 2018
Editada: Benjamin Kraus el 23 de Feb. de 2018
Have you searched through the doc pages? Here are a few links to help you get started:
  1. App Designer
  2. Ways to Import Spreadsheets
  3. Create a Simple App Using App Designer
  1 comentario
rayen chauso
rayen chauso el 21 de Feb. de 2018
That will be great. I did try to find any helpfully video or codes or link. The closest I saw was from dug hull he has 5 video on the subject. It's not exactly what I need but close. I did exactly like he did but still no luck.

Iniciar sesión para comentar.

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by