This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


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);
net = configure(net,x,t);
net = unconfigure(net)

Introduced in R2010b

Was this topic helpful?