methods
객체 클래스의 함수 나열
설명
예제
cluster 객체, job 객체, task 객체에 대한 메서드 나열하기
cluster 객체, job 객체, task 객체를 만들고 각 객체에 사용할 수 있는 퍼블릭 메서드의 이름을 표시합니다.
c = parcluster("Processes");
methods(c)
j = createJob(c);
methods(j)
t = createTask(j,@rand,1,{3});
methods(t)
메서드 목록을 셀형 배열에 저장하기
distributed
객체를 만들고 distributed
객체의 퍼블릭 메서드 목록을 셀형 배열에 저장합니다.
d = rand(1000,'distributed');
m = methods(d);
입력 인수
obj
— 입력 객체 또는 객체로 구성된 배열
MATLAB 객체
입력으로, 객체 또는 객체로 구성된 배열로 지정됩니다.
예: task 객체
출력 인수
out
— 메서드 목록
셀형 배열
메서드 목록으로, 문자형 벡터로 구성된 셀형 배열로 반환됩니다.
버전 내역
R2006a 이전에 개발됨
참고 항목
help
| parcluster
| gpuArray
| createJob
| createTask
MATLAB 명령
다음 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:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)