<< for | Interpreter functions | if >> |
function [out_1,...,out_M,varargout] = fname(in_1, ... , in_N, varargin) |
function fname(in_1, ... , in_N, varargin) |
function [out_1,...,out_M,varargout] = fname() |
function fname() |
function opens a function definition.
endfunction closes a function definition (optional, but strongly recommended).
in a file: demo_function.m
function r = demo_function(a, b)
r = a + b;
endfunction
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET