symexpr2slblock
Create symbolic embedded MATLAB Function block
symexpr2slblock(varargin) creates an Embedded MATLAB Function block
from a symbolic expression. The input arguments are just as used with
the functions emlBlock or matlabFunctionBlock.
Notes
- In Symbolic Toolbox versions prior to V5.7 (2011b) the function to
create Embedded Matlab Function blocks from symbolic expressions is
'emlBlock'.
- Since V5.7 (2011b) there is another function named
'matlabFunctionBlock' which replaces the old function.
- symexpr2slblock is a wrapper around both functions, which
checks for the installed Symbolic Toolbox version and calls the
required function accordingly.
Authors
Joern Malzahn, (joern.malzahn@tu-dortmund.de)
See also
emlblock, matlabfunctionblock
© 1990-2014 Peter Corke.