/usr/share/codeblocks/lexers/lexer_matlab.sample is in codeblocks-common 10.05-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | %%
% Sample Matlab preview code
% This is a block comment
%%
function ret_val = foo(in_par)
ret_val = []; % error
for (i=1:in_par)
disp(['i is currently = ' num2str(i)]);
end
diss('This is the end.');
ret_val = 1; % success
|