I came across this issue when I tried to suppress the GUI called by train() following this answer:
http://www.mathworks.com/matlabcentral/answers/81073-how-to-close-nntrain-tool
So right after creating my net I disabled the GUI:
net = narxnet(...)
net.trainParam.showWindow = 0;
Unfortunately, it would still pop up! Why?