retrieveFrom
类: matlab.unittest.plugins.Parallelizable
包: matlab.unittest.plugins
说明
从缓冲区 data
= retrieveFrom(plugin
,communicationBuffer
)communicationBuffer
中检索 plugin
收集的 data
。运行一组测试时,数据必须由 MATLAB® 工作进程存储在缓冲区中。
为了并行运行测试,测试框架将原始 TestSuite
数组分成不同组,并将这些组分配给当前并行池中的工作进程(需要 Parallel Computing Toolbox™)。要使 MATLAB 客户端能够从工作进程检索数据,请在 TestRunnerPlugin
的 reportFinalizedSuite
方法的作用域内调用 retrieveFrom
。工作进程必须通过在 runTestSuite
的作用域内调用 storeIn
方法来存储其数据。
输入参数
输出参数
示例
版本历史记录
在 R2019b 中推出