⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 saveall.m

📁 遗传规划的matlab工具箱
💻 M
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -