How to make SimMechanics works in rapid accelerator mode

I have a project which needs SimMechanics works in rapid accelerator mode .But When I set the simulation mode to accelerated mode, the dialog displays errors message :
Unable to build a standalone executable to simulate the model 'test2' in rapid accelerator mode.
Caused by:
  • Simulation mode 'rapid-accelerator' is not supported for Simscape logging. Only following modes are supported:
'normal'
  • Please turn off Simscape logging in the Simscape configuration pane or switch to one of supported simulation modes.
So I'd like to know how to turn off Simscape logging or SimMechanics doesn't support work in rapid accelerated mode at all.

Answers (1)

In Model Settings (or Ctrl+E) - Simscape - Data Logging: turn Log Simulation Data to "None".

Products

Asked:

on 5 Feb 2021

Answered:

on 29 Apr 2021

Community Treasure Hunt

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

Start Hunting!