Code covered by the BSD License  

Highlights from
Aircraft Power Network in SimPowerSystems

image thumbnail

Aircraft Power Network in SimPowerSystems

by

 

Aircraft Power Network in SimPowerSystems with AC and DC networks

Initialize_MLPool.m
% Copyright 2013 The MathWorks, Inc.
TempSimSettings = SimSettings;
Temppool = gcp;
Temppoolsize = Temppool.NumWorkers;

for i = 1:Temppoolsize
    TempSimSettings{i}.StopTime = '0.01';
end

parfor i = 1:Temppoolsize
    out{i} = sim(mdl, TempSimSettings{i});
end

Contact us