Hi there,
In Simulink, I'm trying to differentiate a function with respect to a non-time variable. So I created an embedded matlab function and wrote down the following:
function phi = func(B)
syms x;
phi = diff(cosh(B*x)-cos(B*x)...),x);
This function works if called from Matlab console, but...