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

📄 block.m

📁 用于电力系统的一个很好的分析软件
💻 M
字号:
function [enables,prompts] = block(a,object,values,enables,prompts)switch values{8}   case 'on'    cx1 = 'plot([0 1 1 0 0],[0 0 1 1 0]), ';  cx2 = 'color(''blue''), ';  cx3 = 'plot([0 1],[0 1],[0 1],[1 0],[0.5 1 0.5 0 0.5],[0 0.5 1 0.5 0])';     case 'off'    cx1 = 'plot(x,y), ';  cx2 = 'color(''blue''), ';  cx3 = 'plot([0.1 0.3 0.5]-0.6,[0.3 -0.3 0.3],0.45*xt+0.1,0.6*yt)';  enddisplay = [cx1, cx2, cx3];set_param(object,'MaskDisplay',display);    

⌨️ 快捷键说明

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