MATLAB: How to save the network crated as .mat file

Deep Learning ToolboxMATLABneural network

I created a neural network using nnstart and i want to know to save it as.mat so i can directly open the network in matlab software?

Best Answer

Suppose you want to save your network as kpnn1 after getting optimal network.then use the following code: kpnn1=net; save kpnn1;
then whenever you want to load the network, then type the following command: load kpnn1