Saturday, April 14, 2012

how to protect your matlab code?

Pcode
Matlab is scripting language, so the source code easy to see by user.
So how to protect your matlab code?
Matlab use PCode file is a binary file, like ‘exe’ in windows.
How to use it??
It's easy.
You can do like below
open command window matlab
as example you write one line script

next step, please save, as example test1.m
next step, please to write command script pcode test1.m, then in your current folder will be exist test1.p

matlab will to run test1.p so you must update code with do point 4
to sure it that work, you can open file test1.p

    like above, that file code hard to read

    If it’s not work, please trying another tools like notepad

    No comments:

    Post a Comment