Clear Filters
Clear Filters

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

2 views (last 30 days)
Hello,
How can I pass to parfeval a handle of the class method that accepts name-value arguments?
Thanks!

Accepted Answer

Matt J
Matt J on 12 Apr 2022
Edited: Matt J on 12 Apr 2022
Given an object of the class, obj,
fun=@(varargin) obj.method(varargin{:});
parFeval(fun,____)

More Answers (0)

Categories

Find more on Asynchronous Parallel Programming in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!