Documentation

This is machine translation

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

isconfigured

Indicate if network inputs and outputs are configured

Syntax

[flag,inputflags,outputflags] = isconfigured(net)

Description

[flag,inputflags,outputflags] = isconfigured(net) takes a neural network and returns three values,

flag

True if all network inputs and outputs are configured (have non-zero sizes)

inputflags

Vector of true/false values for each configured/unconfigured input

outputflags

Vector of true/false values for each configured/unconfigured output

Examples

Here are the flags returned for a new network before and after being configured:

net = feedforwardnet;
[flag,inputFlags,outputFlags] = isconfigured(net)
[x,t] = simplefit_dataset;
net = configure(net,x,t);
[flag,inputFlags,outputFlags] = isconfigured(net)

Introduced in R2010b

Was this topic helpful?