Running simmechanics in discerete mode

조회 수: 1 (최근 30일)
Pouya Jamali
Pouya Jamali 2012년 5월 29일
댓글: nivethitha p 2015년 6월 12일
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
Kaustubha Govind
Kaustubha Govind 2012년 5월 29일
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 2012년 5월 30일
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

댓글을 달려면 로그인하십시오.

채택된 답변

Guy Rouleau
Guy Rouleau 2012년 5월 29일
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
Anbu
Anbu 2015년 3월 31일
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 2015년 6월 12일
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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Trimming and Linearization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by