aboutsummaryrefslogtreecommitdiff
path: root/samples/Matlab/matlab_script.m
blob: 89f1d95692a3884d4ffd02fde40379f5952b7faf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
% Matlab example script

%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);