saveall.m
来自「遗传规划的matlab工具箱」· M 代码 · 共 17 行
M
17 行
function saveall(vars)
%SAVEALL Saves all the GPLAB algorithm variables to disk.
% SAVEALL(VARIABLES) saves all the data stored in VARIABLES
% into a file identified with the number of the current
% generation, in the directory indicated in the algorithm
% parameters.
%
% Input arguments:
% VARIABLES - contains: POP, PARAMS, STATE, DATA (struct)
%
% Copyright (C) 2003-2004 Sara Silva (sara@dei.uc.pt)
% This file is part of the GPLAB Toolbox
filename=[vars.params.savedir '/' num2str(vars.state.generation)];
save(filename,'vars');
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?