MATLAB Answers

How can I fix this "The "FixedStepDiscrete" solver cannot be used to simulate block diagram,because it contains continuous states"

68 views (last 30 days)
Ufuk  Irmak
Ufuk Irmak on 28 Mar 2013
Answered: youcef kesseir on 11 Mar 2018
I want to embed a simulink model which contains 3DoF blocks from aerospace toolbox but I got the error. In one of answers "Mr. Guy Rouleau" said that change the solver and suggest the ode1 solver, it is the closest one to discrete solver. When I changed solver, I got another error. The model parameters are not configured for target hardware. Are there any solution for this?

Answers (2)

Azzi Abdelmalek
Azzi Abdelmalek on 28 Mar 2013
If your model contains continuous state, you can't use a discrete solver, but you can choose other solver with fixed step.

youcef kesseir
youcef kesseir on 11 Mar 2018
Hey is problèmes thé "fixedstepdiscrete" solver cannot be used to simulation block diagramme ' power PVarray grid det

Community Treasure Hunt

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

Start Hunting!

Translated by