| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink Design Verifier |
| Contents | Index |
| Learn more about Simulink Design Verifier |
status = sldvisactive
status = sldvisactive(model)
status = sldvisactive(block)
status = sldvisactive checks if the Simulink Design Verifier software is actively analyzing the current Simulink model. If the operation is successful, sldvisactive returns 1. Otherwise, it returns 0.
status = sldvisactive(model) checks if the Simulink Design Verifier software is actively analyzing model.
status = sldvisactive(block) checks if the Simulink Design Verifier software is actively analyzing the model that contains block.
sldvisactive customizes the model analysis in block and model callback functions, or mask initialization.
Eliminate blocks that are incompatible with the Simulink Design Verifier software:
Create a Simulink model and save it as mEnvControl.

Right-click the Environment Controller block and select View Mask.
Click the Initialization tab and add the following command, if it does not exist:
switch_mode = rtwenvironmentmode(bdroot(gcbh)) || ...
(exist('sldvisactive','file')~=0 && ...
sldvisactive(bdroot(gcbh)));The Simulink Design Verifier software does not support Band-Limited White Noise blocks. If the software is analyzing the mEnvControl model the mask initialization of the Environment Controller block:
Sets the pass-through mode to pass the Sim signal to the output port.
Eliminates the RTW port, which is incompatible with the Simulink Design Verifier software.
![]() | sldvharnessmerge | sldvmakeharness | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |