MATLAB: PACKAGING EQUATION AS A BLOCK IN SIMULINK blocksimulink could anyone help me on how to package equation as a block in simulink??? Best Answer Hi Nihad,From the equation you have posted, I am assuming that 'double dot' on the top of q1 and zk is double derivative. Please refer to the below resource for modeling differential equations in simulink:https://www.mathworks.com/help/simulink/ug/model-a-differential-algebraic-equation.html Thanks Related SolutionsMATLAB: Call function in package from package According to the documentationhttps://www.mathworks.com/help/matlab/matlab_oop/scoping-classes-with-packages.html#br_llttall references to functions in the package must use the package name prefix, unless you import the package. See the example in the following link for importing package functions:https://www.mathworks.com/help/matlab/matlab_oop/importing-classes.html#buva9qv Related Question
Best Answer