how to make matlab gui load predefined Excel data for data protection?

I made a matlab gui but has to load Excel sheet data file, and I want to protect such data so only be opened in matlab gui how to do it?

4 Comments

essam - please provide some details surrounding this file. What is its purpose relative to the GUI? Are you wanting to encrypt the file, ship it with your MATLAB GUI, and then have the GUI decrypt the file at run-time? Why an Excel file over a text file?
Are you saying that you've saved the workbook with a password, and you need MATLAB to supply the password to open the workbook? If so, I think you will probably have to use ActiveX for that.
Thanks Geoff Hayes for your comment, I used excel for my matlab gui to select specific columns and analyze it then reselect another columns and analyze it, so I want to keep with Excel, the idea you said about ship it with your Matlab GUI
Yes, IF I can preload the Excel data to matlab gui when it start then I use it for my other analysis so can you tell me how to do that? ( store the Excel data inside the matlab once it loaded the data loaded?
Image Analyst thanks for reply, it is another idea to protect my data but can you provide me with tutorial on how to do it with ActiveX so I can let matlab gui use the Stored password inside the Gui to open the password protected Excel data file and be used for my analysis?

Sign in to comment.

Answers (0)

Asked:

on 6 Aug 2016

Commented:

on 9 Aug 2016

Community Treasure Hunt

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

Start Hunting!