Is it possible to set the animation speed of the test sequence editor via command line?
    조회 수: 4 (최근 30일)
  
       이전 댓글 표시
    
The test sequence editor is the interface for customization of a "Test Sequence" block in Simulink. 
The objective is to set the animation speed of different "Test Sequence" blocks to none via a script, which iterates for every test harnesses present in a given folder.
Is it possible to set the animation speed of the test sequence editor via command line? What is the property to access this information?
Thanks in advance!
댓글 수: 1
  Pat Canny
    
 2022년 6월 8일
				I am not aware of any property of a Test Sequence block which would allow you to set the animation speed (it is not available via sltest.testsequence.getProperty() ).
I have passed along your question to the Simulink Test team.
Thanks.
답변 (1개)
  Pat Canny
    
 2022년 6월 8일
        There is no specific function to change the Test Sequence animation speed, but you can use set_param with the Test Sequence block open:
set_param(modelName,'AnimationSpeed','lightningfast')
Other options are 'fast','medium','slow'. I am not sure if 'none' is an option...
Note that this changes the animation speed of the Test Sequence block, but does not update the animation speed setting in the UI. 
댓글 수: 2
  Pat Canny
    
 2022년 6월 10일
				Yes, the animation speed setting will influence the simulation performance when running a test case in Test Manager. The simulation will take longer to finish is the animation speed is set to “slow” than “lightningfast”.
참고 항목
카테고리
				Help Center 및 File Exchange에서 Inputs에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!