wgfcnkey.m

来自「一个matlab mex 文件」· M 代码 · 共 28 行

M
28
字号
function keypressed = wgfcnkey
% Help file for mex function wgfcnkey.dll
%	WGFCNKEY.DLL is a mex file on Windows platform. 
%	wgfcnKey.dll traps pressing of function keys (F1, F2, ..., F12) 
%	in an MATLAB figure window。 
% 
%	Usage:
%	Use this function in the implementation of the KeyPressFcn function: 
%		keypressed = wgfcnkey
%	Based on the returned value, you'll know whether a function 
%	key was pressed. 
% 
%	Input ---- None
%
%	Output ---- a scaler
%				= 0, no function key was pressed
%				= 1, F1 was pressed
%				...
%				= 12, F12 was pressed
%				= 13, left Shift was pressed
%				= 14, left Ctrl was pressed
%				= 15, left Alt was pressed
%				= 16, right Shift was pressed
%				= 17, right Ctrl was pressed
%				= 18, right Alt was pressed
%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

⌨️ 快捷键说明

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