Matlab builder: m-file protection

  • Thread starter Thread starter Andrea
  • Start date Start date
Joined
5/4/08
Messages
8
Points
11
Hi,
does anyone known how to protect m-file?
I'm using matlab builder with excel(VBA), I've tried to use p-file but it doesn't work.

After running the excel file based on .dll created from MatBuilder, it's possible to see the initial m-file codes. I would like to encrypt these files!!
Is it possible??

Thank you
 
What do you mean by p-file does not work? Did you run pcode on your m files correctly?
MATLAB
Hi Andy,
the Pcode works correctly but I can't use encrypted P-files to build the project!!

When i run the project from excel it's getting out a folder with the relative m-files, and the code visible. I want to encrypt them.

Thank's
 
How about the reverse methold that is you build your code in vba or excel addin that will ivoke matlab via ExcelLink or calls the pcode file. You can certainly password protect your addin code. In either case, the client machine will need matlab to run this project, correct?
 
I cannot use ExcelLink because the client doesn't have Matlab!!
By using Matlab compiler the client doesn't need the program, it uses Matlab Component Runtime libraries (MCR). It is a wrapper between Matlab and Excel.
Even if i protect the VBA code i can see the Mcode!!

---------- Post added at 09:03 AM ---------- Previous post was at 07:16 AM ----------

Sorry Andy,
I've seen that the mfile are unreadable!!

Thank you
 
Back
Top Bottom