- Model errors or warnings: Diagnostics for unused parameters, rate transition issues, or other errors can cause simulation to be disabled.
- Solution: Address any errors or warnings flagged in the diagnostic viewer.
- Variant blocks: Variant blocks can "comment out" inactive subsystems, which may cause parts of the model to appear greyed out.
- Solution: Load the correct configuration file for the variant to activate the desired subsystems.
- Commenting out blocks: Some blocks are not supported for commenting, which can cause them to appear greyed out.
- Solution: Use the uncomment option by right-clicking the block, or manually address the issue if it's a supported block.
- Invalid mappings: When mapping to a simulation interface toolkit, invalid mappings can grey out the simulation controls.
- Solution: Check the help documentation for your toolkit and fix any invalid mappings.
- Incorrect system target file: If the system target file is set to a code-building target instead of a simulation/testing target, this can disable simulation controls.
- Solution: Change the system target file to a simulation or test target.
- Home license limitations: Some advanced simulation modes, such as Accelerator and Rapid Accelerator, are not available with a home license.
- Solution: Check your license type, and if you need these features, consider upgrading your license.
- Incomplete model data: If you are trying to access simulation data before the model has run long enough, certain options might be greyed out.
- Solution: Run the simulation forward or use a debugger to step through the simulation until the data is logged.
- Incorrect license level: In some applications, like Ansys Discovery, you may need a specific license level to access simulation features.
- Solution: Confirm that you have the correct license level for your software.
- Restart MATLAB and Simulink: Sometimes, a simple restart can resolve temporary glitches.
- Clear caches: Refreshing the file system caches can also help.
- Rebuild menus: Rebuilding the Simulink and Library menus and toolbars can fix display issues.
