Clear Filters
Clear Filters

How to disable Code generation in Simulink altogether?

5 views (last 30 days)
I am injecting faults through Fault Models. Fault models dont support code generation. Therefore, I am getting an eeror while running the simulation.
=== Simulation (Elapsed: 14 sec) ===
Error:Unable to simulate, generate code, or perform Simulink Design Verifier Analysis for model 'ConfiguredVirtualVehicleModel'. Only normal mode simulation is supported for fault models, models that have fault simulation enabled, or conditionals mapped to Simulink signals.
How can I disable autocode generation and just keep simulation running in Simulink?
  2 Comments
Harald
Harald on 12 Feb 2024
Hi Raghuveer,
any objections against switching to normal mode as the error suggests?
Best wishes,
Harald
RAGHUVEER RAJESH
RAGHUVEER RAJESH on 15 Feb 2024
Switching back to Normal mode worked!! Thank you very much... Querry Solved!!.

Sign in to comment.

Answers (0)

Categories

Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!