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

2 views (last 30 days)
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 Comments
Francheska Payongayong
Francheska Payongayong on 21 May 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! :)

Sign in to comment.

Answers (1)

Benjamin Kraus
Benjamin Kraus on 21 Feb 2018
Edited: Benjamin Kraus on 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 Comment
rayen chauso
rayen chauso on 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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!