eq.m

来自「多目标遗传算法/用法不用多说、要用的赶快下载吧」· M 代码 · 共 7 行

M
7
字号
function t = eq(g1,g2)% EQ - Compares two design variables.  Remember when comparing% design variables that it is only their name that decides if they% are euqal or not. i.e. they might have different values.  The% function returns true if the design variables are equal.t=strcmp(g1.name,g2.name);

⌨️ 快捷键说明

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