ne.m
来自「一些用matlab编写的经典遗传算法算例。可以用于解决许多优化问题」· M 代码 · 共 8 行
M
8 行
function t = ne(g1,g2)
% NEQ - Compares two design variables. Remember when comparing
% design variables that it is onlyh 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 NOT equal.
t=~strcmp(g1.name,g2.name);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?