Unconfigure network inputs and outputs
unconfigure(net, 'inputs', i)
unconfigure(net, 'outputs', i)
unconfigure(net) returns a network with its input and output sizes set to 0, its input and output processing settings and related weight initialization settings set to values consistent with zero-sized signals. The new network will be ready to be reconfigured for data of the same or different dimensions than it was previously configured for.
unconfigure(net, 'inputs', i) unconfigures the inputs indicated by the indices i. If no indices are specified, all inputs are unconfigured.
unconfigure(net, 'outputs', i) unconfigures the outputs indicated by the indices i. If no indices are specified, all outputs are unconfigured.
Here a network is configured for a simple fitting problem, and then unconfigured.
[x,t] = simplefit_dataset; net = fitnet(10); view(net) net = configure(net,x,t); view(net) net = unconfigure(net) view(net)