startupapproxrl.m

来自「approximate reinforcement learning」· M 代码 · 共 17 行

M
17
字号
% Add to path all directories required for approximate RL to workcrt = pwd;addpath(genpath(pwd));% try finding lib as subdir...addpath(genpath([pwd '\lib']));% ... and/or as sibling directoryslashind = strfind(crt, '\');if ~isempty(slashind) && (slashind(end) > 1),    parent = crt(1:slashind(end)-1);    addpath(genpath([parent '\lib']));end;% save the pathsavepath;% END startupapproxrl

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?