基于MATLAB的摩尔斯电码系统设计
下面是MATLAB代碼開頭部分
function MorseCode
%% Set start up values
IsFile = 0; % This is set to 1 when a file to transmit is loaded
StopXmit = 0; % Set to 1 when operator wants to stop the transmission
TextToSend = []; % Text file built from text input file
KbdHandle = 0; % Set to Kbd figure handle when Xmit from Kbd is started
AlphabetInUse = 0; % Set to 1 when alphabet is being transmitted
FileXmitInUse = 0; % Set to 1 when text file is being transmitted
KbdXmitInUse = 0; % Set to 1 when keyboard input is being transmitted
CharacterCount = 0; % Use this to count input characters
SentCount = 0; % Use this to count output characters
TimerHandle = 0; % Set to handle value when timer is started
InputString = cell(2,1); % Set up and clear input array
下面是MATLAB系統運行時截圖:
總結
以上是生活随笔為你收集整理的基于MATLAB的摩尔斯电码系统设计的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 基于VHDL自动售邮票机设计
- 下一篇: PopupWindow在项目中的使用 并