フィルターのクリア

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,____)
  2 件のコメント
Alex Alex
Alex Alex 2022 年 4 月 12 日
Thanks, Matt, it helps. And how can I pass an argument there? Which is expected to be a name-value pair.
Matt J
Matt J 2022 年 4 月 12 日
The same as any other argument.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeParallel 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