필터 지우기
필터 지우기

How can I pass to parfeval a handle of the class method that accepts name-value arguments?

조회 수: 7 (최근 30일)
Hello,
How can I pass to parfeval a handle of the class method that accepts name-value arguments?
Thanks!

채택된 답변

Matt J
Matt J 2022년 4월 12일
편집: Matt J 2022년 4월 12일
Given an object of the class, obj,
fun=@(varargin) obj.method(varargin{:});
parFeval(fun,____)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Parallel for-Loops (parfor)에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by