How can I import a data to constant block that into the different simulink model?
    조회 수: 3 (최근 30일)
  
       이전 댓글 표시
    
I have a simulink model that its name is gui. And I want to send two data from gui to simulink model'S constant block. How can I do this?
댓글 수: 0
채택된 답변
  Birdman
      
      
 2017년 11월 30일
        You should use set_param command as follows:
set_param('gui/Constant','Value','i')
set_param('gui/Constant1','Value','j')
댓글 수: 10
추가 답변 (0개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 Event Functions에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

