mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Rename samples subdirectories
This commit is contained in:
13
samples/Matlab/matlab_script2.m
Normal file
13
samples/Matlab/matlab_script2.m
Normal file
@@ -0,0 +1,13 @@
|
||||
% Matlab example script 2
|
||||
% Comments precended with arbitrary whitespace (spaces or tabs)
|
||||
|
||||
%Call matlab_function function which resides in the same directory
|
||||
|
||||
value1 = 5 % semicolon at end of line is not mandatory, only suppresses output to command line.
|
||||
value2 = 3
|
||||
|
||||
% Calculate sum of value1 and value2
|
||||
result = matlab_function(value1,value2);
|
||||
|
||||
disp('called from script')
|
||||
disp(result);
|
||||
Reference in New Issue
Block a user