MATLAB: Evaluating all NeuralNetworks in a cell array simultanously

cell arraysMATLABneural network

Hi,
i have cell array of neural networks, which are all trained.
I now want to feed one inpuct vector into all of those NN (it's the same input values for all NNs), but it needs to be done as quickly as possible as I am working on a realtime application. Does anyone have an idea about how to do that without looping through the single networks? Or possibly a different approach than saving the networks in a cell array?
Thanks in advance!

Best Answer

Hi,
You can make use of the parfor to speed up the process.
The links given below will give in detailed explanation on how to make best use of parfor
Even though the given examples are for training. You can use the case just for validatation.
Hope this helps!