I am trying to read the EEG signals in real-time in C++ and then send the data to MATLAB for processing. I have prepared a neural network using neural network toolbox in MATLAB to classify the EEG signals into three categories. Now, my question is how can I use this pre-trained neural network for a new set of dataset automatically without requiring the user to do something manually (import the new data set to network)? So let me clarify, my only question here is when I receive the new EEG signals and process them (add filters and calculate some features as an input for the network) how can I import these feature to the pre-trained network automatically? Can I call the pre-trained network as a function in my script and if yes, what steps do I need to take? (I have saved the network as a Mat file).
Thank you in advance for your response.