도움말 센터도움말 센터
이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
기록된 데이터 세트 찾기
data = find(sim_obj,data_name)
예제
data = find(sim_obj,data_name)은 sim_obj의 LoggedData 속성에서 특정 이름을 가진 요소를 검색합니다. sdo.SimulationTest 객체의 who 함수를 사용하여 가능한 이름을 찾습니다.
data
sim_obj
data_name
LoggedData
sdo.SimulationTest
who
모두 축소
모델 신호를 기록합니다.
Pressures = Simulink.SimulationData.SignalLoggingInfo; Pressures.BlockPath = 'sdoHydraulicCylinder/Cylinder Assembly'; Pressures.OutputPortIndex = 1; simulator = sdo.SimulationTest('sdoHydraulicCylinder'); simulator.LoggingInfo.Signals = Pressures;
시뮬레이션을 실행합니다.
sim = sim(simulator);
기록된 데이터를 검색합니다.
sim_log = find(simulator,'sdoHydraulicCylinder');
모델에 대한 시뮬레이션 시나리오로, sdo.SimulationTest 객체로 지정됩니다.
검색할 데이터 세트 이름으로, 문자형 벡터 또는 string형 스칼라로 지정됩니다.
데이터형: char | string
char
string
data_name 입력값으로 지정된 데이터 세트 이름에 대한 기록된 시뮬레이션 데이터로, 셀형 배열로 반환됩니다.
R2011b에 개발됨
sdo.optimize | sim | fastRestart | who
sdo.optimize
sim
fastRestart
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office