diff options
| author | Joshua Peek <josh@joshpeek.com> | 2012-06-22 10:09:24 -0500 |
|---|---|---|
| committer | Joshua Peek <josh@joshpeek.com> | 2012-06-22 10:09:24 -0500 |
| commit | 5521dd08a062f39036b045c819201b6235fb32f8 (patch) | |
| tree | e3085d9a7a58f084eabefc19987f3acb029d03ac /samples/matlab/matlab_function.m | |
| parent | b571c47a1c61394d371dcd4b8d2165b4e16f4e84 (diff) | |
Move test fixtures to samples/
Diffstat (limited to 'samples/matlab/matlab_function.m')
| -rw-r--r-- | samples/matlab/matlab_function.m | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/samples/matlab/matlab_function.m b/samples/matlab/matlab_function.m new file mode 100644 index 0000000..b73502e --- /dev/null +++ b/samples/matlab/matlab_function.m @@ -0,0 +1,9 @@ +function ret = matlab_function(A,B) +% Simple function adding two values and displaying the return value + +ret = A+B; +% Display the return value +disp('Return value in function'); +disp(ret); + + |
