Running simmechanics in discerete mode

1 visualización (últimos 30 días)
Pouya Jamali
Pouya Jamali el 29 de Mayo de 2012
Comentada: nivethitha p el 12 de Jun. de 2015
Is it possible to simulate a Simmechanics model in discrete mode?I tried to do that but Simulink showe me an error that there is a continues state in the block diagram but there isn't! What is the problem?Any one has any idea?
  2 comentarios
Kaustubha Govind
Kaustubha Govind el 29 de Mayo de 2012
By "discrete mode", do you mean that you selected a Discrete Solver? Also, please paste the *exact* error message that you receive.
Pouya Jamali
Pouya Jamali el 30 de Mayo de 2012
Yeah! The error message is : The "FixedStepDiscrete" solver cannot be used to simulate block diagram 'piddiscrete' because it contains continuous states
thanks for your support

Iniciar sesión para comentar.

Respuesta aceptada

Guy Rouleau
Guy Rouleau el 29 de Mayo de 2012
SimMechanics requires a continuous solver. The solver can be variable or fixed step.
The fixed-step solver closest to discrete is ODE1. Since it has no minor time steps, it is almost equivalent.
If this does not do the job for your application, please let us know why.
  3 comentarios
Anbu
Anbu el 31 de Mzo. de 2015
Hello Mr. Rouleau, I have the same problem, and i get the same error (The "FixedStepDiscrete" solver cannot be used to simulate block diagram 'piddiscrete' because it contains continuous states), for all the types of solver. what should i change, either the solver or some other settings?
nivethitha p
nivethitha p el 12 de Jun. de 2015
hello anbu even i have got the same problem as like u... no solver type is working in my model... what should i do? did u get the answer for that? kindly reply me

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simulation Setup en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by