Main Content

Specification of Input Ranges in sldvData Fields

When you analyze a model, Simulink® Design Verifier™ generates a data file when it completes its analysis. The data file is a MAT-file that contains an sldvData structure. The sldvData structure stores all the data that the software gathers and produces during the analysis. You can use the data file to customize your own analysis or to generate a custom report.

If your model contains specified minimum and maximum values on the input ports, the sldvData structure contains information about those values. For example, after analyzing the ex_minmax_on_inports model in Specify Input Ranges for Inport Blocks, the data file contains the following values:

  • For the Input1 block:

    sldvData.Constraints.DesignMinMax(1).value{1}.low
    
    ans =
    
         1
    
    sldvData.Constraints.DesignMinMax(1).value{1}.high
    
    ans =
    
         5
  • For the Input2 block:

    sldvData.Constraints.DesignMinMax(2).value{1}.low
    
    ans =
    
        -1
    
    sldvData.Constraints.DesignMinMax(2).value{1}.high
    
    ans =
    
         1