Go to the source code of this file.
|
function saveNetwork(net) % Save the file 'network.ini' containing the network 'net' % in the proper format required by the ctrlLib framework. % % Copyright | szIW =size(net.IW{1}) |
|
| szLW =size(net.LW{2,1}) |
|
◆ fprintf() [1/4]
fprintf |
( |
fid |
, |
|
|
'numHiddenNodes\t\t%d\n' |
, |
|
|
uint8(szIW(1)) |
|
|
) |
| |
◆ fprintf() [2/4]
fprintf |
( |
fid |
, |
|
|
'numInputNodes\t\t%d\n' |
, |
|
|
uint8(szIW(2)) |
|
|
) |
| |
◆ fprintf() [3/4]
fprintf |
( |
fid |
, |
|
|
'numOutputNodes\t\t%d\n' |
, |
|
|
uint8(szLW(1)) |
|
|
) |
| |
◆ fprintf() [4/4]
◆ szIW
function saveNetwork (net) % Save the file 'network.ini' containing the network 'net' % in the proper format required by the ctrlLib framework. % % Copyright szIW =size(net.IW{1}) |
◆ szLW