도움말 센터도움말 센터
이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
System object의 내부 상태 재설정
reset(obj)
예제
reset(obj)는 System object™의 내부 상태와 입력 속성을 초기값으로 재설정합니다.
obj
obj가 파일을 읽거나 쓰는 경우 reset은 객체를 파일의 시작 부분으로 재설정합니다.
reset
obj가 속성을 변경하는 경우 reset은 속성을 초기 디폴트 값으로 재설정합니다.
obj가 난수 생성 시드값을 사용하는 경우 reset은 시드값 속성을 재설정합니다.
모두 축소
Counter 객체를 만들고 속성을 설정합니다.
Counter
obj = Counter; obj.UseIncrement = false
obj = Counter with properties: UseIncrement: false UseWrapValue: true StartValue: 1 Increment: 1 WrapValue: 10
객체를 재설정하고 해제합니다.
reset(obj) release(obj)
상태를 재설정할 System object입니다.
자세한 내용은 System Objects in MATLAB Code Generation (MATLAB Coder) 항목을 참조하십시오.
R2010a에 개발됨
release
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
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