📄 matlab.php
字号:
<?php
/*************************************************************************************
* matlab.php
* -----------
* Author: Florian Knorn (floz@gmx.de)
* Copyright: (c) 2004 Florian Knorn (http://www.florian-knorn.com)
* Release Version: 1.0.7.16 * CVS Revision Version: $Revision: 1.15.2.5 $
* Date Started: 2005/02/09
* Last Modified: $Date: 2006/10/24 11:07:09 $
*
* Matlab M-file language file for GeSHi.
*
* CHANGES
* ------- * 2006-03-25 * - support for the transpose operator * - many keywords added * - links to the matlab documentation at mathworks * by: Olivier Verdier (olivier.verdier@free.fr)
* 2005/05/07 (1.0.0)
* - First Release
*
*
*************************************************************************************
*
* This file is part of GeSHi.
*
* GeSHi is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GeSHi is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GeSHi; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
************************************************************************************/
$language_data = array (
'LANG_NAME' => 'Matlab M',
'COMMENT_SINGLE' => array(1 => '%'),
'COMMENT_MULTI' => array(),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
'QUOTEMARKS' => array(),
'ESCAPE_CHAR' => '',
'KEYWORDS' => array(
1 => array(
'break', 'case', 'catch', 'continue', 'elseif', 'else', 'end', 'for',
'function', 'global', 'if', 'otherwise', 'persistent', 'return',
'switch', 'try', 'while','...'
), 2 => array(
'all',
'any',
'exist',
'find',
'is',
'isa',
'logical',
'mislocked',
'builtin',
'eval',
'evalc',
'evalin',
'feval',
'function',
'global',
'nargchk',
'persistent',
'script',
'break',
'case',
'catch',
'else',
'elseif',
'end',
'error',
'for',
'if',
'otherwise',
'return',
'switch',
'try',
'warning',
'while',
'input',
'keyboard',
'menu',
'pause',
'class',
'double',
'inferiorto',
'inline',
'int8',
'int16',
'int32',
'isa',
'loadobj',
'saveobj',
'single',
'superiorto',
'uint8',
'int16',
'uint32',
'dbclear',
'dbcont',
'dbdown',
'dbmex',
'dbquit',
'dbstack',
'dbstatus',
'dbstep',
'dbstop',
'dbtype',
'dbup',
'blkdiag',
'eye',
'linspace',
'logspace',
'ones',
'rand',
'randn',
'zeros',
'ans',
'computer',
'eps',
'flops',
'i',
'Inf',
'inputname',
'j',
'NaN',
'nargin',
'nargout',
'pi',
'realmax',
'realmin',
'varargin',
'varargout',
'calendar',
'clock',
'cputime',
'date',
'datenum',
'datestr',
'datevec',
'eomday',
'etime',
'now',
'tic',
'toc',
'weekday',
'cat',
'diag',
'fliplr',
'flipud',
'repmat',
'reshape',
'rot90',
'tril',
'triu',
'compan',
'gallery',
'hadamard',
'hankel',
'hilb',
'invhilb',
'magic',
'pascal',
'toeplitz',
'wilkinson',
'abs',
'acos',
'acosh',
'acot',
'acoth',
'acsc',
'acsch',
'angle',
'asec',
'asech',
'asin',
'asinh',
'atan',
'atanh',
'atan2',
'ceil',
'complex',
'conj',
'cos',
'cosh',
'cot',
'coth',
'csc',
'csch',
'exp',
'fix',
'floor',
'gcd',
'imag',
'lcm',
'log',
'log2',
'log10',
'mod',
'nchoosek',
'real',
'rem',
'round',
'sec',
'sech',
'sign',
'sin',
'sinh',
'sqrt',
'tan',
'tanh',
'airy',
'besselh',
'besseli',
'besselk',
'besselj',
'Bessely',
'beta',
'betainc',
'betaln',
'ellipj',
'ellipke',
'erf',
'erfc',
'erfcx',
'erfiny',
'expint',
'factorial',
'gamma',
'gammainc',
'gammaln',
'legendre',
'pow2',
'rat',
'rats',
'cart2pol',
'cart2sph',
'pol2cart',
'sph2cart',
'abs',
'eval',
'real',
'strings',
'deblank',
'findstr',
'lower',
'strcat',
'strcmp',
'strcmpi',
'strjust',
'strmatch',
'strncmp',
'strrep',
'strtok',
'strvcat',
'symvar',
'texlabel',
'upper',
'char',
'int2str',
'mat2str',
'num2str',
'sprintf',
'sscanf',
'str2double',
'str2num',
'bin2dec',
'dec2bin',
'dec2hex',
'hex2dec',
'hex2num',
'fclose',
'fopen',
'fread',
'fwrite',
'fgetl',
'fgets',
'fprintf',
'fscanf',
'feof',
'ferror',
'frewind',
'fseek',
'ftell',
'sprintf',
'sscanf',
'dlmread',
'dlmwrite',
'hdf',
'imfinfo',
'imread',
'imwrite',
'textread',
'wk1read',
'wk1write',
'bitand',
'bitcmp',
'bitor',
'bitmax',
'bitset',
'bitshift',
'bitget',
'bitxor',
'fieldnames',
'getfield',
'rmfield',
'setfield',
'struct',
'struct2cell',
'class',
'isa',
'cell',
'cellfun',
'cellstr',
'cell2struct',
'celldisp',
'cellplot',
'num2cell',
'cat',
'flipdim',
'ind2sub',
'ipermute',
'ndgrid',
'ndims',
'permute',
'reshape',
'shiftdim',
'squeeze',
'sub2ind',
'cond',
'condeig',
'det',
'norm',
'null',
'orth',
'rank',
'rcond',
'rref',
'rrefmovie',
'subspace',
'trace',
'chol',
'inv',
'lscov',
'lu',
'nnls',
'pinv',
'qr',
'balance',
'cdf2rdf',
'eig',
'gsvd',
'hess',
'poly',
'qz',
'rsf2csf',
'schur',
'svd',
'expm',
'funm',
'logm',
'sqrtm',
'qrdelete',
'qrinsert',
'bar',
'barh',
'hist',
'hold',
'loglog',
'pie',
'plot',
'polar',
'semilogx',
'semilogy',
'subplot',
'bar3',
'bar3h',
'comet3',
'cylinder',
'fill3',
'plot3',
'quiver3',
'slice',
'sphere',
'stem3',
'waterfall',
'clabel',
'datetick',
'grid',
'gtext',
'legend',
'plotyy',
'title',
'xlabel',
'ylabel',
'zlabel',
'contour',
'contourc',
'contourf',
'hidden',
'meshc',
'mesh',
'peaks',
'surf',
'surface',
'surfc',
'surfl',
'trimesh',
'trisurf',
'coneplot',
'contourslice',
'isocaps',
'isonormals',
'isosurface',
'reducepatch',
'reducevolume',
'shrinkfaces',
'smooth3',
'stream2',
'stream3',
'streamline',
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -