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

📄 disphelp.m

📁 从 Win32 控制台程序调用MATLAB C Math Library,从VC++中调用m函数,有几十个例子
💻 M
字号:
function disphelp
% DISPHELP - display help text for the communications system simulator console application

disp(strvcat( ...
    'A certain communications system simulator console application', ...
    ' ',...
    'commsmtr   [filename] [/S Fs] [/R Eb_N0] [/C channel_model]',...
    '[/M mapping_mode] [/F points_in_a_IFFT] [/T total_transmitted_data_bits]',...
    '[/P cyclic_prefix_length]',...
    ' ',...
    'filename       the Matlab MAT-file name in which the simulation results',...
    '               will be saved.',...
    'Fs             the Sampling frequency of transmitted data(MHz).',...
    'Eb_N0          the ratio of energy of each bit to noise power spectral',...
    '               density.',...
    'channel_model  the channel mode',...
    '                   0 - AWGN',...
    '                   1 - SUI-1 + AWGN',...
    '                   2 - SUI-2 + AWGN',...
    '                   3 - SUI-3 + AWGN',...
    '                   4 - SUI-4 + AWGN',...
    '                   5 - SUI-5 + AWGN',...
    '                   6 - SUI-6 + AWGN',...
    '                   7 - Jakes + AWGN',...
    'mapping_mode   the mapping method',...
    '                   1 - BPSK',...
    '                   2 - QPSK',...
    '                   4 - 16QAM',...
    '                   6 - 64QAM.',...
    'points_in_a_IFFT            the size of IFFT.',...
    'total_transmitted_data_bits the total bits of transmitted data.',...
    'cyclic_prefix_length        the size of cyclic prefix(points_in_a_IFFT).',...
    ' ',...
    'The argument Eb_N0 must be an array. You can input an array by the',...
    'expressions such as 0:30, 0:5:30, [0,1,2,3,4,5,10,20,30], in which',...
    'an blank is not permitted. The argument total_transmitted_data_bits',...
    'must be a scalar. The arguments Fs, channel_model,mapping_mode,',...
    'points_in_a_IFFT and cyclic_prefix_length can be a scalar or an array,',...
    'but only one of them can be an array at the same time.', ...
    'The following examples are all correct using method of commsmtr:', ...
    'commsmtr /?', ...
    'commsmtr', ...
    'commsmtr data.mat /s [3,5] /r 0:5:40 /c 4 /m 6 /F 256 /t 65536 /p 0.25', ...
    'commsmtr data.mat /s 5 /r 0:5:40 /c 4 /m [1,2,4,6] /F 256 /t 65536 /p 0.25', ...
    'commsmtr data.mat /s 5 /r 0:5:40 /c 1:4 /m 1 /F 256 /t 65536  /p 0.25', ...
    'commsmtr data.mat /s 5 /r 0:5:40 /c 4 /m 1 /F 256 /t 65536  /p 0.25', ...
    'commsmtr data.mat /s 5 /r 0:1:20 /c 4 /m 2 /F [256,512] /t 65536  /p 0.25', ...
    'commsmtr data.mat /s 5 /r 0:5:20 /c 4 /m 2 /F 256 /t 65536  /p [0.2,0.25]', ...
    'If you want to break the running of this program, please press Ctrl+C.' ...
    ));

⌨️ 快捷键说明

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