⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 get_machine_id.m

📁 CheckMate is a MATLAB-based tool for modeling, simulating and investigating properties of hybrid dyn
💻 M
字号:
function machine_id = get_machine_id(sys)% the Stateflow function returns all block names whose begining substring% matches with the name given in sys. thus, we have to make sure that we get% an exact match.possible_id = sf('find','all','machine.name',sys);machine_id = [];for k = 1:length(possible_id)  name = sf('get',possible_id(k),'.name');  if strcmp(name,sys)    machine_id = possible_id(k);    break;  endendreturn% ----------------------------------------------------------------------------

⌨️ 快捷键说明

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