Page 7 - Demo
P. 7
Interface to Matlab%uf09f%uf09fRCPConsult2017-2025Page 77.MatlabexpressionThe expression defined in Symbolic Editor for the Matlabinterface can contain a single statement\PAR2*Load\or multiple statements separated by semicolon. In this case one statement musthave an assignment to predefined variable %u2019res%u2019\-PAR2*Load+A\Usually, this statement is thelast one.It is also possible to use a global vector in expression\_XP_(4)*(pi/4)*v_XP_(2)*v_XP_(3)^2 -v_XP_(5)*v_XP_(1)\All kinds of expressions above will be evaluated numerically. Finally, for an intermediate processing without evaluation of the state (or other) function %u2013the %u2019%%u2019 symbol must be set on the first position. Such statements can also be seen as a kind of pre-setting.\% Direct inputas presetting\