Problem using Linear Analysis Toolbox with Embedded Functions

1 view (last 30 days)
I recently converted all of my model equations from using Simulink blocks to using several different embedded function blocks because it would be easier to manage all of the states. However, when I designate an input point and output point before and after the embedded function block and try to linearize the system, the result is empty and no states are recognized.
I have eight outputs coming out of the main embedded function that are then passed through integrator blocks (these are the states). These signals are then muxed together and passed through another series of embedded functions blocks (via "go to" and "from" blocks) to calculate a value that I want to designate as my output point.
Basically, the problem is that the Linear Analysis toolbox doesn't recognize what's inside all of the embedded functions when it performs the linearization process as it would if I used only Simulink blocks. Is there anyway to easily work around this or should I just convert everything back to Simulink blocks?

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!