How to get sldvData of a model from command line
    3 views (last 30 days)
  
       Show older comments
    
    Hanif Ahmed
 on 24 Jun 2020
  
    
    
    
    
    Answered: Gaganjyoti Baishya
      
 on 24 Jun 2020
            I am trying to get the struct file of sldvData but unable to do it through command line.
Is there any way of getting it? Generating tests from the model and waiting for files takes a lot of time.
0 Comments
Accepted Answer
  Gaganjyoti Baishya
      
 on 24 Jun 2020
        sldvrun might be the thing you are looking for:
opts = sldvoptions;
opts.Mode = 'TestGeneration';    
opts.ModelCoverageObjectives = 'MCDC';   
opts.SaveHarnessModel = 'off';          
opts.SaveReport = 'on';                  
[ status, files ] = sldvrun(gcs, opts);
load(files.DataFile)
open sldvData
0 Comments
More Answers (0)
See Also
Categories
				Find more on Simulink Design Verifier 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!
