gensym.m
来自「麻省理工学院的人工智能工具箱,很珍贵,希望对大家有用!」· M 代码 · 共 13 行
M
13 行
function x = gensym()% GENSYM Generate a unique integer% x = gensym()%% Every time this is called, it generates a new integer, which can be used to create unique names.global GENSYM; % we could use persistent, but this only supported in >=5.2if isempty(GENSYM) GENSYM = 1;endx = GENSYM;GENSYM = GENSYM + 1;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?