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