并行计算使用pars​im,每个循环中参数​可以更改,工况怎么改​(通过from workspace加载工况,时间和速度二维向量)

조회 수: 4 (최근 30일)
硕 蔡
硕 蔡 2023년 6월 7일
for i=1:100
in(i) = Simulink.SimulationInput(model);
end
out = parsim(in, 'ShowProgress', 'on','TransferBaseWorkspaceVariables','on','UseFastRestart','on');
先用for建立并行计算对象in;
在parsim并行计算过程中,每个循环的计算中,v_ms_front{i}加载的都是第100组数据。
这问题怎么解决?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!