How add a Fixed Folder data to Matlab App?

8 views (last 30 days)
Morteza
Morteza on 11 Jul 2019
Answered: Kanishk on 22 Jan 2025 at 12:09
I am going to prepare an application with Matlab. I need two folders containing data for running.
1-The first folder is fixed and contains unchagable data. So the folder need not to be determined by user.
2-The second folder path must be selected by user and contains user defined data.
I want the app be standalone. Ho can I add the fixed data folder to the software?

Answers (1)

Kanishk
Kanishk on 22 Jan 2025 at 12:09
To create a standalone MATLAB application that includes a fixed data folder and allows the user to select another data folder, you can design the application in MATLAB App Designer and compile it into a standalone application using Application Compiler.
Add the path to the fixed folder in the App using App designer and use the “Files required for your application to run” section to add the files and folders required to package and run.
You can learn more about creating Standalone Application using Application Compiler App here.

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!