Hello I am in a work to use the neural network in a specific form that the output of the NN is multiplied by a system (Like G) and want to make output of G tracks a desired target. Therefore, the error between target and G should be used to train the NN so I can't use train (as far as I know) command directly because the NN train the net from the error between the target and the direct NN output. I was wondering how to use train command in such a system?
Note. This system is used in model reference control in Simulink/Neural network, but I don't use Simulink.