Sha256: ec5076ec57f6dfc1b1b99a7a5e4f573059dd1c8e9aac1b073c1667eb17e0960b

Contents?: true

Size: 469 Bytes

Versions: 19

Compression:

Stored size: 469 Bytes

Contents

function zz=sample(aa)
%%%%%%%%%%%%%%%%%%
% some comments
%%%%%%%%%%%%%%%%%%

x = 'a string';    % some 'ticks' in a comment
y = 'a string with ''interal'' quotes';

for i=1:20
  disp(i);
end

a = rand(30);
b = rand(30);

c = a .* b ./ a \ (b .* a + b - a);

c = a' * b';  % note: these ticks are for transpose, not quotes.

disp('a comment symbol, %, in a string');

!echo abc % this isn't a comment - it's passed to system command

function y=myfunc(x)
y = exp(x);


Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
gitlab-pygments.rb-0.3.2 vendor/pygments-main/tests/examplefiles/matlab_sample
pygments.rb-0.3.2 vendor/pygments-main/tests/examplefiles/matlab_sample
pygments.rb-0.3.1 vendor/pygments-main/tests/examplefiles/matlab_sample
pygments.rb-0.3.0 vendor/pygments-main/tests/examplefiles/matlab_sample
pygments.rb-0.2.13 vendor/pygments-main/tests/examplefiles/matlab_sample
pygments.rb-0.2.12 vendor/pygments-main/tests/examplefiles/matlab_sample
pygments.rb-0.2.11 vendor/pygments-main/tests/examplefiles/matlab_sample
pygments.rb-0.2.10 vendor/pygments-main/tests/examplefiles/matlab_sample
pygments.rb-0.2.9 vendor/pygments-main/tests/examplefiles/matlab_sample
pygments.rb-0.2.8 vendor/pygments-main/tests/examplefiles/matlab_sample
pygments.rb-0.2.7 vendor/pygments-main/tests/examplefiles/matlab_sample
pygments.rb-0.2.6 vendor/pygments-main/tests/examplefiles/matlab_sample
pygments.rb-0.2.4 vendor/pygments-main/tests/examplefiles/matlab_sample
pygments.rb-0.2.3 vendor/pygments-main/tests/examplefiles/matlab_sample
pygments.rb-0.2.2 vendor/pygments-main/tests/examplefiles/matlab_sample
pygments.rb-0.2.1 vendor/pygments-main/tests/examplefiles/matlab_sample
pygments.rb-0.2.0 vendor/pygments-main/tests/examplefiles/matlab_sample
pygments.rb-0.1.3 vendor/Pygments-1.4/tests/examplefiles/matlab_sample
pygments.rb-0.1.2 vendor/Pygments-1.4/tests/examplefiles/matlab_sample