How to use Simscape Mutlibody in accelerator Mode?

Hi Guys. I have a bit complicated model combines between simulink and simscape multibody. In the simulink I have many zero crossing because I am using PWM generation, and usually it has zero crossing. So, I am using Accelerator Mode. When I get to combine both models, I receive an error that multibody doesn't support accelecrator mode, and I have to turn visualisation off!!! Could you please give me more explanation about this problem and how to sort it out? Regards.

Answers (1)

Hey Karem, I think what you are experiencing is expected behavior.  Simscape Multibody visualization using the Mechanics Explorer is only supported in the "Normal" simulation mode.  As mentioned in the documentation linked-to below, there are other circumstances in which visualization is not supported.
If you have a model that simulates fine in normal mode, but the simulation does not run in accelerator mode, I suggest creating a new case with MathWorks Technical Support.  Please provide them with the exact error message you are receiving and all files steps necessary to reproduce the error.

2 Comments

Dear, Thanks for your answer. My model works in the normal mode. But when I add it into accelerator mode, it doesn't work.Even the Mechanics exploerers get stop completely. Please, as I am new in this website. What do you mean by a new case with MathWorks Technical Support?
https://www.mathworks.com/support/contact_us/

Sign in to comment.

Categories

Find more on Simscape Multibody in Help Center and File Exchange

Asked:

on 8 Sep 2017

Commented:

on 15 Sep 2017

Community Treasure Hunt

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

Start Hunting!