I have a m.-file with a function inside using "new>function" and name the function "foo".
>> type foo.m
function [outputArg1,outputArg2] = foo(inputArg1,inputArg2)
%FOO Summary of this function goes here
% Detailed explanation goes here
outputArg1 = inputArg1;
outputArg2 = inputArg2;
end
>> help foo
foo Summary of this function goes here
Detailed explanation goes here
After creating a .p-file, however, the help text is not available anymore.
>> pcode foo
>> delete foo.m
>> help foo
foo is a function.
Can I obfuscate/protect my code, while still having help text available?