Thread Subject: protecting MatLab code from being pirated?

Subject: protecting MatLab code from being pirated?

From: stpatryck

Date: 16 Sep, 2009 19:40:42

Message: 1 of 6

Hello All,

I'm supposed to write a portfolio optimization Monte Carlo simulation
for some foreign mutual fund company on an advisory basis. They have
MatLab and want me to ship my code to them so they can run it over
there. I'm wondering how I can code some kind of protection for my
MatLab programs so they don't just take it and cut me out of the
picture.

Is there a way to make the code unusable if they try to modify it? Or
some way I can put in some code so they can only run my progams until
a certain expiration date?

Any suggestions would be appreciated.

Subject: protecting MatLab code from being pirated?

From: Nathan

Date: 16 Sep, 2009 19:44:34

Message: 2 of 6

On Sep 16, 12:40 pm, stpatryck <stpatr...@gmail.com> wrote:
> Hello All,
>
> I'm supposed to write a portfolio optimization Monte Carlo simulation
> for some foreign mutual fund company on an advisory basis.  They have
> MatLab and want me to ship my code to them so they can run it over
> there.  I'm wondering how I can code some kind of protection for my
> MatLab programs so they don't just take it and cut me out of the
> picture.
>
> Is there a way to make the code unusable if they try to modify it?  Or
> some way I can put in some code so they can only run my progams until
> a certain expiration date?
>
> Any suggestions would be appreciated.

You can send them p code. That way, they can only use your code
without being able to see its contents.
doc pcode

Note: Create a backup of your file(s), because there is no going back
once you convert it to pcode.

This way, if they want to modify the code, they will have to contact
you and have you modify it for them.

Will this work for you?

-Nathan

Subject: protecting MatLab code from being pirated?

From: Matt Fig

Date: 16 Sep, 2009 19:50:17

Message: 3 of 6

A similar problem I had lead me to develop this file:

http://www.mathworks.com/matlabcentral/fileexchange/17288

Feel free to modify it to your specific needs, regarding the date.

Subject: protecting MatLab code from being pirated?

From: per isakson

Date: 16 Sep, 2009 19:57:20

Message: 4 of 6

stpatryck <stpatryck@gmail.com> wrote in message <0925d8cc-0669-4057-9ce0-04ccf1b627a4@d21g2000vbm.googlegroups.com>...
> Hello All,
>
> I'm supposed to write a portfolio optimization Monte Carlo simulation
> for some foreign mutual fund company on an advisory basis. They have
> MatLab and want me to ship my code to them so they can run it over
> there. I'm wondering how I can code some kind of protection for my
> MatLab programs so they don't just take it and cut me out of the
> picture.
>
> Is there a way to make the code unusable if they try to modify it? Or
> some way I can put in some code so they can only run my progams until
> a certain expiration date?
>
> Any suggestions would be appreciated.

This has been discussed, e.g search the thread "Licensing your deployed GUIs" in this newsgroup.

Supply it as p-code (pcode) might a possibility

/ per

Subject: protecting MatLab code from being pirated?

From: SaintPatrick

Date: 16 Sep, 2009 21:04:14

Message: 5 of 6

Nathan, Per, and Matt,

Thanks for your input. I didn't know about p-code. I will research
it.

I appreciate all of your comments. Very good advice.


Regards,
Patrick


On Sep 16, 3:57 pm, "per isakson" <poi.nos...@bimDOTkthDOT.se> wrote:
> stpatryck<stpatr...@gmail.com> wrote in message <0925d8cc-0669-4057-9ce0-04ccf1b62...@d21g2000vbm.googlegroups.com>...
> > Hello All,
>
> > I'm supposed to write a portfolio optimization Monte Carlo simulation
> > for some foreign mutual fund company on an advisory basis.  They have
> > MatLab and want me to ship my code to them so they can run it over
> > there.  I'm wondering how I can code some kind of protection for my
> > MatLab programs so they don't just take it and cut me out of the
> > picture.
>
> > Is there a way to make the code unusable if they try to modify it?  Or
> > some way I can put in some code so they can only run my progams until
> > a certain expiration date?
>
> > Any suggestions would be appreciated.
>
> This has been discussed, e.g search the thread "Licensing your deployed GUIs" in this newsgroup.
>
> Supply it as p-code (pcode) might a possibility
>
> / per

Subject: protecting MatLab code from being pirated?

From: Steve Amphlett

Date: 17 Sep, 2009 09:54:02

Message: 6 of 6

SaintPatrick <patrickmyu@gmail.com> wrote in message <5131ea0f-cb7e-497b-9083-383dba9fbd01@d21g2000vbm.googlegroups.com>...
> Nathan, Per, and Matt,
>
> Thanks for your input. I didn't know about p-code. I will research
> it.
>
> I appreciate all of your comments. Very good advice.
>
>
> Regards,
> Patrick

... and of course you can allways "time bomb" your p-coded files to expire after a certain date. Yeas it is possible to wind back system clocks, but that tends to have undesireable side effects on many other programs these days.

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
password protect Sprinceana 17 Sep, 2009 05:13:23
password Sprinceana 17 Sep, 2009 05:13:23
password protec... Sprinceana 17 Sep, 2009 05:13:23
fex Sprinceana 17 Sep, 2009 05:13:23
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com