?? speaker.m
字號:
% NTPort Library Sample
% Copyright (c) 2001, Zeal SoftStudio.
% http://www.zealsoftstudio.com
% The program requires NTPort Library 2.3 or higher,
% MatLab 5.x or higher and Matport.dll 1.0
% After register NTPort Library,
% place your registration information here.
matport('LicenseInfo', 'Your Name', 0);
input('Press Enter key to turn on the speaker..');
% Turn on the speaker
% Outp(&H61, &HF)
matport('Outp', 97, 15);
input('Press Enter key to turn off the speaker...');
% Turn off the speaker
% Outp(&H61, &HC)
matport('Outp', 97, 12);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -