이 페이지는 기계 번역을 사용하여 번역되었습니다. 영어 원문을 보려면 여기를 클릭하십시오.
linuxTarget
설명
linuxTarget는 타깃 컴퓨터를 나타내는 타깃 객체를 생성하며, 해당 타깃 컴퓨터와 관련된 메서드 및 속성에 대한 액세스 기능을 제공합니다.
이 객체는 다음과 같은 메서드와 속성에 대한 액세스를 제공합니다:
애플리케이션을 시작, 일시 중지, 재개 및 중지합니다.
파라미터를 읽고 설정합니다.
신호를 모니터링합니다.
타깃 컴퓨터에 대한 상태 정보를 가져옵니다.
타깃 컴퓨터에서 Docker 컨테이너를 다시 시작합니다.
애플리케이션을 불러오고 배포합니다.
생성
은 사용 가능한 유일한 타깃 컴퓨터를 나타내는 타깃 객체를 생성합니다.tg = linuxTarget
은 tg = linuxTarget(targetName)targetName으로 지정된 타깃 컴퓨터를 나타내는 타깃 객체를 생성합니다.
예: 단 하나의 타깃 컴퓨터
객체 함수
connect | Simulink를 선택한 타깃 컴퓨터에 연결 |
deployApplicationPackage | Deploy application package to selected target computer |
disconnect | Disconnect Simulink from selected target computer |
getApplicationState | Get state of application deployed to target computer |
getApplications | Get applications deployed to target computer and application states |
getDeploymentLocation | Get deployment location for selected target computer |
getIPAddress | 타깃 컴퓨터의 IP 주소 가져오기 |
getMeasurements | Get list of measurable signals |
getParameters | Get list of tunable parameters |
getSignalsUnderInstrument | View signals selected to measure |
getTargetName | Get target computer name |
getUserName | 타깃 컴퓨터의 사용자 이름 가져오기 |
isConnected | Get Boolean value representing target computer connection status |
pauseApplication | Pause application running on target computer |
readParameter | Get value of parameter |
readParameters | Get values of tunable parameters |
removeApplicationPackage | Remove application package from selected target computer |
removeSignalsFromInstrument | Remove signals for which visualization is not required |
restartContainer | Docker 컨테이너 재시작 또는 새로 생성 |
restartStreaming | Restart streaming of signals |
resumeApplication | Resume application on target computer |
selectSignalsToInstrument | Add signals of interest to visualize application behavior |
setApplicationStateCallback | Trigger a function when state of application changes |
setDeploymentLocation | Set location for deployed application on target computer |
setIPAddress | Set IP address for target computer |
setPassword | 타깃 컴퓨터에 비밀번호 설정하기 |
setTargetConnectionStatusCallback | Set callback function to trigger when status of connection to target computer changes |
setUserName | Set user name for target computer |
startApplication | 애플리케이션 시작 |
startMonitorAndTune | Start parameter tuning and signal monitoring |
startStreaming | Start streaming of signals and visualize results |
stopApplication | Terminate application that is running on target computer |
stopMonitorAndTune | Stop parameter tuning of the application |
stopStreaming | 신호 데이터 스트리밍 중지 |
uninstallTarget | Delete docker image on target computer |
updateTarget | Update docker image on target computer if there is a version mismatch |
writeParameter | Write or tune application parameter |
예제
버전 내역
R2024a에 개발됨