I want to make a bunch (478) of entity generators in my model to create entities that represent different patient variants in my model. The interarrival times of the patients types are stored in a variable in a .mat file.
Is there any way to create the entity generators in an efficient way, so to avoid having to create each 478 entity generator manually?
Thanks in advance,
Below you can find the code i would use to generate the first variant: (each row in weibparam represents a patient variant)
T = load("weibull_interarrival.mat");
dt = wblrnd(weibparam(1,1),weibparam(1,2));