Previous in Forum: How to open cash drawer   Next in Forum: Mitsubishi GX Melsoft Software - Version 7
Close
Close
Close
13 comments
Rate Comments: Nested
Associate

Join Date: Sep 2006
Posts: 31

Microsoft Excel and MATLAB

10/08/2008 3:15 PM

Dear All

I need your help in microsoft excel file, I am making a MATLAB file that gets data from an excel sheet. I will share this MATLAB file and excel sheet with others. I am not willing to let anybody access or see the excel sheet, I just need others to deal with the MATLAB file only.

The problem that when I put a password on the excel sheet, the MATLAB can not access the file. If I remove the password, the MATLAB will work but others can use the excel file?

So what can I do to let the MATLAB access the file with out letting others open the excel file?

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Participant

Join Date: Oct 2008
Posts: 1
#1

Re: Microsoft Excel and MATLAB

10/09/2008 7:49 AM

Try hiding the sheet's you do not want anyone to see and than protect the sheet and only them basic things that the user when to use the program.

Register to Reply
Associate

Join Date: Jul 2008
Posts: 33
#2

Re: Microsoft Excel and MATLAB

10/09/2008 8:08 AM

You can put .xls file as ready only. Any one can modify for data also hide the data.

Register to Reply
Anonymous Poster
#3

Re: Microsoft Excel and MATLAB

10/09/2008 8:16 AM

Let me break my message into two parts

1. I agree with your first try of protecting the sheet with password but can't perform Matlab afterward. This is similar to my experience to other software operabiltiy with excel

2. I agree with the recent advise to hide the column (i.e with data parameters) but please try to test if you can lock the unhide default of excel (then relocate the cell "faraway on the same tab sheet") and if it wont work you may have use VBA Excel

Let me know if this wil work

Register to Reply
Anonymous Poster
#4

Re: Microsoft Excel and MATLAB

10/09/2008 3:58 PM

Thanks for you all for replying

However, the read only option is useless because simply anybody can use the 'save as' option to take the excel file and do what ever he wants, besides the read only option prevents saving modifications, so the user can modify the file and unhide all the columns.

I tried protecting the sheet but it is useless.

Also I changed the visibility of the sheet to 'veryhidden' in VBA but the problem that there is nothing that prevents the modification of the file.

Any suggestions!!!!

thanks in advance

Register to Reply
Guru
Engineering Fields - Instrumentation Engineering - New Member Hobbies - Fishing - New Member

Join Date: Jan 2008
Location: Kazakhstan
Posts: 753
Good Answers: 8
#6
In reply to #4

Re: Microsoft Excel and MATLAB

10/10/2008 7:56 AM

I think you could write matlab script for DB (MS Access or like) which is connected to Excel spreadsheet. So if you have access to DB you can get excel sheet and so on.

Register to Reply
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#5

Re: Microsoft Excel and MATLAB

10/09/2008 4:31 PM

Its a longshot, but have you tried Open or Star Office.....?

__________________
"What others say about you reveals more about them, than it does you." Anon.
Register to Reply
Associate

Join Date: Sep 2006
Posts: 31
#7

Re: Microsoft Excel and MATLAB

10/11/2008 12:55 PM

dear Andy,

I am sorry but I did not get it. What do you mean by open or star!!!!

Register to Reply
Guru

Join Date: Jul 2006
Location: Eastern Kansas USA
Posts: 1503
Good Answers: 128
#8
In reply to #7

Re: Microsoft Excel and MATLAB

10/12/2008 3:12 PM

kik0kik0,

What Andy is referring to is open source software which does the same thing as Microsoft's Excel. Both should be available for free download from the Internet. If the problem is with access to the Excel file, the open source software may have different access levels which allow it to be read into Matlab without the user accessing the files otherwise.

--JMM

Register to Reply
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#10
In reply to #8

Re: Microsoft Excel and MATLAB

10/26/2008 6:03 AM

Very well put, thanks.

__________________
"What others say about you reveals more about them, than it does you." Anon.
Register to Reply
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#9
In reply to #7

Re: Microsoft Excel and MATLAB

10/26/2008 6:03 AM

Open Office or Star Office, free downloads from Sun Microsystems. They are "lookalikes" of MS Office, but far far cheaper - free of you download them. Try googling them both.....

__________________
"What others say about you reveals more about them, than it does you." Anon.
Register to Reply
Guru
Engineering Fields - Control Engineering - New Member China - Member - New Member

Join Date: Sep 2006
Location: CHINA
Posts: 2945
Good Answers: 14
#11
In reply to #9

Re: Microsoft Excel and MATLAB

10/26/2008 9:17 PM

hehe, Andy,

are you going to mislead the top thread? or mistaking his meaning?

Register to Reply
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#12
In reply to #11

Re: Microsoft Excel and MATLAB

10/30/2008 3:57 PM

Star and Open ofice have different rules, so they might do exactly what he wants to do with MS Office!!!

That was the reason for mentioning them.....

__________________
"What others say about you reveals more about them, than it does you." Anon.
Register to Reply
Guru
Engineering Fields - Control Engineering - New Member China - Member - New Member

Join Date: Sep 2006
Location: CHINA
Posts: 2945
Good Answers: 14
#13
In reply to #12

Re: Microsoft Excel and MATLAB

10/31/2008 4:39 AM

Enthusiasm is a matter, while practice is another thing.

German has many excellent engineers, but rarely come here for their opinion; they may have their own group to busy with. Once you find and tell your idea to them, you may know what is imaginable and utility.

However I wish you to keep on your passion, some of them are also very useful.

Register to Reply
Register to Reply 13 comments
Copy to Clipboard

Users who posted comments:

alchemist32086 (1); Andy Germany (4); Anonymous Poster (2); caramba (1); cnpower (2); freemanpr (1); jmueller (1); kik0kik0 (1)

Previous in Forum: How to open cash drawer   Next in Forum: Mitsubishi GX Melsoft Software - Version 7

Advertisement