get_object_config.m

来自「多智能体工具包」· M 代码 · 共 18 行

M
18
字号
function Current_Config=get_object_config(ClassId,Cel)% GET_OBJECT_CONFIG	Get the configuration of current Object.%     Copyright (c) 1997-2000 Jiming Liu and Jianbing Wuglobal CELL;% obtain begin row of the class_id in CELL.CELL_Matrix_Size=size(CELL);for mm=1:CELL_Matrix_Size(1)  if CELL(mm,2)==Cel & CELL(mm,1)==ClassId     Current_Config=CELL(mm,3:CELL_Matrix_Size(2));    return;  endend  

⌨️ 快捷键说明

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