도움말 센터도움말 센터
step
System object 알고리즘 실행
step(obj,___)
예제
step(obj,___)는 System object™를 호출하고 알고리즘을 실행합니다. step은 System object에 따라 출력 인수를 반환할 수 있습니다.
obj
참고
R2016b부터는 step 메서드를 사용하여 System object로 정의된 작업을 수행하는 대신, 마치 함수인 것처럼 인수를 사용하여 객체를 호출할 수 있습니다. 예를 들어, y = step(obj,x) 및 y = obj(x)는 동등한 작업을 수행합니다.
y = step(obj,x)
y = obj(x)
알고리즘 및 입력 변수에 대한 자세한 내용은 개별 System object 도움말 페이지를 참조하십시오.
모두 축소
Counter 객체를 만들고 속성을 설정합니다.
Counter
obj = Counter; obj.UseIncrement = false
obj = Counter with properties: UseIncrement: false UseWrapValue: true StartValue: 1 Increment: 1 WrapValue: 10
카운터를 실행합니다.
step(obj,1)
ans = 2
실행하려는 알고리즘을 가진 System object. System object에 따라 추가 입력 인수가 필요할 수 있습니다.
자세한 내용은 System Objects in MATLAB Code Generation (MATLAB Coder) 항목을 참조하십시오.
R2010a에 개발됨
reset
다음 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