Is there a way to disable the visualization of a Simscape Multibody simulation in the Mechanics Explorer using a command?
64 views (last 30 days)
When I want to switch off the visualization of a Simscape Multibody simulation, I have to uncheck the box "Open Mechanics Explorer on model update or simulation". I want to do that using a command or a parameter, so that I don't have to open Simulink and check or uncheck the box.
The only solution I found so far is to create a copy of my Configuration Parameter Set where the visualization is turned off and switch to the different Configuration Parameter Set by
This works, but the problem here is that this changes the .slx file everytime I do that which is not really convenient, especially when working with git.