필터 지우기
필터 지우기

Programmatically change external mode data archiving directory

조회 수: 1 (최근 30일)
Cody
Cody 2014년 11월 13일
답변: Jan Houska 2014년 11월 19일
Is it possible to programmatically specify or change the data archiving directory in the Simulink external mode control panel? We have a technician interacting with a real-time simulation via a custom GUI, and would like them to be able to easily archive data in different directories depending on the test type.

채택된 답변

Jan Houska
Jan Houska 2014년 11월 19일
This should do what you need:
set_param(model, 'ExtModeArchiveDirName', 'c:\your_directory')

추가 답변 (1개)

MA
MA 2014년 11월 13일
편집: MA 2014년 11월 13일
writing your desired directory with cd code in the command window, for exmaple my directory is C:\peace\one , you should write code as following:
cd C:\peace\one
you should notice that this directory does exist otherwise it gives you an error

카테고리

Help CenterFile Exchange에서 Target Computer Setup에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by