how to protect my code from copying by other users?
Afficher commentaires plus anciens
clc,clear
c=5;
for N=1:15;
A=3;B=7;
if N>=c
Ixy(N)=A+B*N*N;
Nc(N)=N;
fprintf('%d\t %d\t\t\n',Ixy(N),Nc(N))
elseif N<5
Ixy(N)=+B;
Nc(N)=N;
fprintf('%d\t%d\t\t\n',Ixy(N),Nc(N))
end
end
N=1:15;
plot(Ixy(N),Nc(N))
1 commentaire
John D'Errico
le 9 Août 2015
Why would somebody care to copy this code?
Learn what a p-file is.
Réponses (1)
Image Analyst
le 9 Août 2015
0 votes
You can compile it into a standalone program: http://matlab.wikia.com/wiki/FAQ#MATLAB_Compiler_Toolbox
Catégories
En savoir plus sur MATLAB Compiler dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!