p = gcp("nocreate");
if isempty(p)
parpool(4);
end
Starting parallel pool (parpool) using the 'Processes' profile ...
11-Sep-2024 11:23:03: Job Queued. Waiting for parallel pool job with ID 1 to start ...
Connected to parallel pool with 4 workers.
Warning: Unable to open 'vdp/Scope' because you are simulating the model using parsim. Clear the 'Open at Simulation Start' parameter or simulate the model without using parsim.
Warning: Unable to open 'vdp/Scope' because you are simulating the model using parsim. Clear the 'Open at Simulation Start' parameter or simulate the model without using parsim.
Warning: Unable to open 'vdp/Scope' because you are simulating the model using parsim. Clear the 'Open at Simulation Start' parameter or simulate the model without using parsim.
Warning: Unable to open 'vdp/Scope' because you are simulating the model using parsim. Clear the 'Open at Simulation Start' parameter or simulate the model without using parsim.
データにアクセスしてクライアント MATLAB に実行を送信
クライアント MATLAB® で使用する場合と同じ方法で、ワーカーでシミュレーション データ インスペクターのプログラムによるインターフェイスを使用できます。この例では、Simulink.sdi.Runオブジェクトを作成し、Tag プロパティを使用したシミュレーションで使われた Mu の値を付加します。