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

2 Ansichten (letzte 30 Tage)
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 Kommentare
Francheska Payongayong
Francheska Payongayong am 21 Mai 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! :)

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Benjamin Kraus
Benjamin Kraus am 21 Feb. 2018
Bearbeitet: Benjamin Kraus am 23 Feb. 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 Kommentar
rayen chauso
rayen chauso am 21 Feb. 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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by