Making a software / GUI that is able to save data and change itself.

1 view (last 30 days)
Eran Sandman
Eran Sandman on 13 Aug 2020
Answered: Rik on 14 Aug 2020
I want to create something interarctive for my lab to arrange database and other stuff. I know how to code in matlab (not the best, but i think pretty well). i have never used or learned anything about GUI. so before i start digging in the web and teach myself - i was wondering if i can make these specific things in matlab:
  • A raw page where the user is adding boxes (lets say max 9 per page) and after the page if full of boxes, and new page will be created automaticly.
  • Save the data in the software itself, so next time when the user will open the software the GUI will look exactly the same.
  • With all being said before, i also need the software to be externally executable.
The purpose of the program is to add data. I want the data to be more visualised than just boring lists in excel.

Answers (1)

Rik on 14 Aug 2020
The things you mention are all possible. For general advice and examples for how to create a GUI (and avoid using GUIDE), have look at this thread.
You can make data persistent across runs with getpref and setpref, or an external mat file. To make it externally executable you would need the compiler toolbox, and on the target machine the MCR, which is generally free to use.

Community Treasure Hunt

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

Start Hunting!