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

📄 slblocks.m

📁 WCDMA model in symulink model in matlab
💻 M
字号:
function blkStruct = slblocks%SLBLOCKS Defines the block library for a specific Toolbox or Blockset.%   Copyright 1996-2001 The MathWorks, Inc.%   $Revision: 1.10 $blkStruct.Name = 'WCDMA Library';blkStruct.OpenFcn = 'wcdmalib';blkStruct.MaskInitialization = '';x = exp(j*[-45:-8:-215, -45]/180*pi);x1 = x * 20 + 20 + j*35;x2 = -x*10 + 60 +j*75;p_str = ['plot(',...          mat2str(real(x1),2), ',', mat2str(imag(x1),2), ',', ...         '[0 15 ', mat2str(real(x1(10:13)),2),' 0],[0 0 ', mat2str(imag(x1(10:13)),2),' 0],', ...         mat2str(real(x2),2), ',', mat2str(imag(x2),2), ',', ...         '[19 40 35 52 40 49 60],[34 55 65 50 70 64 75],', ...         '[74.5 70 65 74],[84.5 80 85 94],',...         '[66 65 70.5 71], [86 99 97 91],',...         '[75 74 79 80 75], [81 94 92 79 81],',...         '[74.5 73], [87 87],',...         '-10, 0, 100, 100);'];blkStruct.MaskDisplay = p_str;% Define the library list for the Simulink Library browser.% Return the name of the library model and the name for itBrowser(1).Library = 'wcdmalib';Browser(1).Name    = 'WCDMA Library';blkStruct.Browser = Browser;% End of slblocks.m

⌨️ 快捷键说明

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