Main Content

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)

Version History

Introduced in R2010b