How can I generate a test, using Simulink Design Verifier, when there is a StateSpace block in the model?

4 次查看(过去 30 天)
I want to generate test data for the sldemo_fuelsys model (full MCDC coverage). However, the following error keeps popping up?
Simulink Design Verifier failed to initialize: 'sldemo_fuelsys3' is incompatible for test generation with Simulink Design Verifier.
Component:simulink | Category:Design Verifier compatibility error
Block 'sldemo_fuelsys3/Engine Gas Dynamics/Mixing & Combustion/System Lag/State Space' of type StateSpace cannot be stubbed.
Is there away to make this block compatible? Or is it just impossible to generate tests of models that contain these blocks?
(

回答(1 个)

Akshat Dalal
Akshat Dalal 2024-10-26
Hi,
Yes, it is currently not possible to generate tests for models containing the State-Space and a bunch of other blocks captured in the limitation section of Simulink Design Verifier: https://www.mathworks.com/help/sldv/ug/simulink-block-support.html

类别

Help CenterFile Exchange 中查找有关 Simulink Design Verifier 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by