matlab.php

gehe zur Dokumentation dieser Datei
00001 <?php
00002 /*************************************************************************************
00003  * matlab.php
00004  * -----------
00005  * Author: Florian Knorn (floz@gmx.de)
00006  * Copyright: (c) 2004 Florian Knorn (http://www.florian-knorn.com)
00007  * Release Version: 1.0.7.20
00008  * Date Started: 2005/02/09
00009  *
00010  * Matlab M-file language file for GeSHi. 
00011  *
00012  * CHANGES
00013  * -------
00014  * 2006-03-25
00015  *   - support for the transpose operator
00016  *   - many keywords added
00017  *   - links to the matlab documentation at mathworks
00018  *      by: Olivier Verdier (olivier.verdier@free.fr)
00019  * 2005/05/07 (1.0.0)
00020  *   -  First Release
00021  *
00022  *
00023  *************************************************************************************
00024  *
00025  *     This file is part of GeSHi.
00026  *
00027  *   GeSHi is free software; you can redistribute it and/or modify
00028  *   it under the terms of the GNU General Public License as published by
00029  *   the Free Software Foundation; either version 2 of the License, or
00030  *   (at your option) any later version.
00031  *
00032  *   GeSHi is distributed in the hope that it will be useful,
00033  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00034  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00035  *   GNU General Public License for more details.
00036  *
00037  *   You should have received a copy of the GNU General Public License
00038  *   along with GeSHi; if not, write to the Free Software
00039  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00040  *
00041  ************************************************************************************/
00042 
00043 $language_data = array (
00044      'LANG_NAME' => 'Matlab M',
00045      'COMMENT_SINGLE' => array(1 => '%'),
00046      'COMMENT_MULTI' => array(),
00047      'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
00048      'QUOTEMARKS' => array(),
00049      'ESCAPE_CHAR' => '',
00050      'KEYWORDS' => array(
00051           1 => array(
00052                'break', 'case', 'catch', 'continue', 'elseif', 'else', 'end', 'for', 
00053                'function', 'global', 'if', 'otherwise', 'persistent', 'return', 
00054                'switch', 'try', 'while','...'
00055                ),
00056         2 => array(
00057                             'all',
00058                                    'any',
00059                                    'exist',
00060                                    'find',
00061                                    'is',
00062                                    'isa',
00063                                    'logical',
00064                                    'mislocked',
00065                                    
00066                                    'builtin',
00067                                    'eval',
00068                                    'evalc',
00069                                    'evalin',
00070                                    'feval',
00071                                    'function',
00072                                    'global',
00073                                    'nargchk',
00074                                    'persistent',
00075                                    'script',
00076                                    'break',
00077                                    'case',
00078                                    'catch',
00079                                    'else',
00080                                    'elseif',
00081                                    'end',
00082                                    'error',
00083                                    'for',
00084                                    'if',
00085                                    'otherwise',
00086                                    'return',
00087                                    'switch',
00088                                    'try',
00089                                    'warning',
00090                                    'while',
00091                                    'input',
00092                                    'keyboard',
00093                                    'menu',
00094                                    'pause',
00095                                    'class',
00096                                    'double',
00097                                    'inferiorto',
00098                                    'inline',
00099                                    'int8',
00100                                    'int16',
00101                                    'int32',
00102                                    'isa',
00103                                    'loadobj',
00104                                    'saveobj',
00105                                    'single',
00106                                    'superiorto',
00107                                    'uint8',
00108                                    'int16',
00109                                    'uint32',
00110                                    'dbclear',
00111                                    'dbcont',
00112                                    'dbdown',
00113                                    'dbmex',
00114                                    'dbquit',
00115                                    'dbstack',
00116                                    'dbstatus',
00117                                    'dbstep',
00118                                    'dbstop',
00119                                    'dbtype',
00120                                    'dbup',
00121                                         
00122                                    'blkdiag',
00123                                    'eye',
00124                                    'linspace',
00125                                    'logspace',
00126                                    'ones',
00127                                    'rand',
00128                                    'randn',
00129                                    'zeros',
00130                                    'ans',
00131                                    'computer',
00132                                    'eps',
00133                                    'flops',
00134                                    'i',
00135                                    'Inf',
00136                                    'inputname',
00137                                    'j',
00138                                    'NaN',
00139                                    'nargin',
00140                                    'nargout',
00141                                    'pi',
00142                                    'realmax',
00143                                    'realmin',
00144                                    'varargin',
00145                                    'varargout',
00146                                    'calendar',
00147                                    'clock',
00148                                    'cputime',
00149                                    'date',
00150                                    'datenum',
00151                                    'datestr',
00152                                    'datevec',
00153                                    'eomday',
00154                                    'etime',
00155                                    'now',
00156                                    'tic',
00157                                    'toc',
00158                                    'weekday',
00159                                    'cat',
00160                                    'diag',
00161                                    'fliplr',
00162                                    'flipud',
00163                                    'repmat',
00164                                    'reshape',
00165                                    'rot90',
00166                                    'tril',
00167                                    'triu',
00168                                    'compan',
00169                                    'gallery',
00170                                    'hadamard',
00171                                    'hankel',
00172                                    'hilb',
00173                                    'invhilb',
00174                                    'magic',
00175                                    'pascal',
00176                                    'toeplitz',
00177                                    'wilkinson',
00178                                    'abs',
00179                                    'acos',
00180                                    'acosh',
00181                                    'acot',
00182                                    'acoth',
00183                                    'acsc',
00184                                    'acsch',
00185                                    'angle',
00186                                    'asec',
00187                                    'asech',
00188                                    'asin',
00189                                    'asinh',
00190                                    'atan',
00191                                    'atanh',
00192                                    'atan2',
00193                                    'ceil',
00194                                    'complex',
00195                                    'conj',
00196                                    'cos',
00197                                    'cosh',
00198                                    'cot',
00199                                    'coth',
00200                                    'csc',
00201                                    'csch',
00202                                    'exp',
00203                                    'fix',
00204                                    'floor',
00205                                    'gcd',
00206                                    'imag',
00207                                    'lcm',
00208                                    'log',
00209                                    'log2',
00210                                    'log10',
00211                                    'mod',
00212                                    'nchoosek',
00213                                    'real',
00214                                    'rem',
00215                                    'round',
00216                                    'sec',
00217                                    'sech',
00218                                    'sign',
00219                                    'sin',
00220                                    'sinh',
00221                                    'sqrt',
00222                                    'tan',
00223                                    'tanh',
00224                                    'airy',
00225                                    'besselh',
00226                                    'besseli',
00227                                    'besselk',
00228                                    'besselj',
00229                                    'Bessely',
00230                                    'beta',
00231                                    'betainc',
00232                                    'betaln',
00233                                    'ellipj',
00234                                    'ellipke',
00235                                    'erf',
00236                                    'erfc',
00237                                    'erfcx',
00238                                    'erfiny',
00239                                    'expint',
00240                                    'factorial',
00241                                    'gamma',
00242                                    'gammainc',
00243                                    'gammaln',
00244                                    'legendre',
00245                                    'pow2',
00246                                    'rat',
00247                                    'rats',
00248                                    'cart2pol',
00249                                    'cart2sph',
00250                                    'pol2cart',
00251                                    'sph2cart',
00252                                    'abs',
00253                                    'eval',
00254                                    'real',
00255                                    'strings',
00256                                    'deblank',
00257                                    'findstr',
00258                                    'lower',
00259                                    'strcat',
00260                                    'strcmp',
00261                                    'strcmpi',
00262                                    'strjust',
00263                                    'strmatch',
00264                                    'strncmp',
00265                                    'strrep',
00266                                    'strtok',
00267                                    'strvcat',
00268                                    'symvar',
00269                                    'texlabel',
00270                                    'upper',
00271                                    'char',
00272                                    'int2str',
00273                                    'mat2str',
00274                                    'num2str',
00275                                    'sprintf',
00276                                    'sscanf',
00277                                    'str2double',
00278                                    'str2num',
00279                                    'bin2dec',
00280                                    'dec2bin',
00281                                    'dec2hex',
00282                                    'hex2dec',
00283                                    'hex2num',
00284                                    'fclose',
00285                                    'fopen',
00286                                    'fread',
00287                                    'fwrite',
00288                                    'fgetl',
00289                                    'fgets',
00290                                    'fprintf',
00291                                    'fscanf',
00292                                    'feof',
00293                                    'ferror',
00294                                    'frewind',
00295                                    'fseek',
00296                                    'ftell',
00297                                    'sprintf',
00298                                    'sscanf',
00299                                    'dlmread',
00300                                    'dlmwrite',
00301                                    'hdf',
00302                                    'imfinfo',
00303                                    'imread',
00304                                    'imwrite',
00305                                    'textread',
00306                                    'wk1read',
00307                                    'wk1write',
00308                                    'bitand',
00309                                    'bitcmp',
00310                                    'bitor',
00311                                    'bitmax',
00312                                    'bitset',
00313                                    'bitshift',
00314                                    'bitget',
00315                                    'bitxor',
00316                                    'fieldnames',
00317                                    'getfield',
00318                                    'rmfield',
00319                                    'setfield',
00320                                    'struct',
00321                                    'struct2cell',
00322                                    'class',
00323                                    'isa',
00324                                    'cell',
00325                                    'cellfun',
00326                                    'cellstr',
00327                                    'cell2struct',
00328                                    'celldisp',
00329                                    'cellplot',
00330                                    'num2cell',
00331                                    'cat',
00332                                    'flipdim',
00333                                    'ind2sub',
00334                                    'ipermute',
00335                                    'ndgrid',
00336                                    'ndims',
00337                                    'permute',
00338                                    'reshape',
00339                                    'shiftdim',
00340                                    'squeeze',
00341                                    'sub2ind',
00342                                    'cond',
00343                                    'condeig',
00344                                    'det',
00345                                    'norm',
00346                                    'null',
00347                                    'orth',
00348                                    'rank',
00349                                    'rcond',
00350                                    'rref',
00351                                    'rrefmovie',
00352                                    'subspace',
00353                                    'trace',
00354                                    'chol',
00355                                    'inv',
00356                                    'lscov',
00357                                    'lu',
00358                                    'nnls',
00359                                    'pinv',
00360                                    'qr',
00361                                    'balance',
00362                                    'cdf2rdf',
00363                                    'eig',
00364                                    'gsvd',
00365                                    'hess',
00366                                    'poly',
00367                                    'qz',
00368                                    'rsf2csf',
00369                                    'schur',
00370                                    'svd',
00371                                    'expm',
00372                                    'funm',
00373                                    'logm',
00374                                    'sqrtm',
00375                                    'qrdelete',
00376                                    'qrinsert',
00377                                    'bar',
00378                                    'barh',
00379                                    'hist',
00380                                    'hold',
00381                                    'loglog',
00382                                    'pie',
00383                                    'plot',
00384                                    'polar',
00385                                    'semilogx',
00386                                    'semilogy',
00387                                    'subplot',
00388                                    'bar3',
00389                                    'bar3h',
00390                                    'comet3',
00391                                    'cylinder',
00392                                    'fill3',
00393                                    'plot3',
00394                                    'quiver3',
00395                                    'slice',
00396                                    'sphere',
00397                                    'stem3',
00398                                    'waterfall',
00399                                    'clabel',
00400                                    'datetick',
00401                                    'grid',
00402                                    'gtext',
00403                                    'legend',
00404                                    'plotyy',
00405                                    'title',
00406                                    'xlabel',
00407                                    'ylabel',
00408                                    'zlabel',
00409                                    'contour',
00410                                    'contourc',
00411                                    'contourf',
00412                                    'hidden',
00413                                    'meshc',
00414                                    'mesh',
00415                                    'peaks',
00416                                    'surf',
00417                                    'surface',
00418                                    'surfc',
00419                                    'surfl',
00420                                    'trimesh',
00421                                    'trisurf',
00422                                    'coneplot',
00423                                    'contourslice',
00424                                    'isocaps',
00425                                    'isonormals',
00426                                    'isosurface',
00427                                    'reducepatch',
00428                                    'reducevolume',
00429                                    'shrinkfaces',
00430                                    'smooth3',
00431                                    'stream2',
00432                                    'stream3',
00433                                    'streamline',
00434                                    'surf2patch',
00435                                    'subvolume',
00436                                    'griddata',
00437                                    'meshgrid',
00438                                    'area',
00439                                    'box',
00440                                    'comet',
00441                                    'compass',
00442                                    'errorbar',
00443                                    'ezcontour',
00444                                    'ezcontourf',
00445                                    'ezmesh',
00446                                    'ezmeshc',
00447                                    'ezplot',
00448                                    'ezplot3',
00449                                    'ezpolar',
00450                                    'ezsurf',
00451                                    'ezsurfc',
00452                                    'feather',
00453                                    'fill',
00454                                    'fplot',
00455                                    'pareto',
00456                                    'pie3',
00457                                    'plotmatrix',
00458                                    'pcolor',
00459                                    'rose',
00460                                    'quiver',
00461                                    'ribbon',
00462                                    'stairs',
00463                                    'scatter',
00464                                    'scatter3',
00465                                    'stem',
00466                                    'convhull',
00467                                    'delaunay',
00468                                    'dsearch',
00469                                    'inpolygon',
00470                                    'polyarea',
00471                                    'tsearch',
00472                                    'voronoi',
00473                                    'camdolly',
00474                                    'camlookat',
00475                                    'camorbit',
00476                                    'campan',
00477                                    'campos',
00478                                    'camproj',
00479                                    'camroll',
00480                                    'camtarget',
00481                                    'camup',
00482                                    'camva',
00483                                    'camzoom',
00484                                    'daspect',
00485                                    'pbaspect',
00486                                    'view',
00487                                    'viewmtx',
00488                                    'xlim',
00489                                    'ylim',
00490                                    'zlim',
00491                                    'camlight',
00492                                    'diffuse',
00493                                    'lighting',
00494                                    'lightingangle',
00495                                    'material',
00496                                    'specular',
00497                                    'brighten',
00498                                    'bwcontr',
00499                                    'caxis',
00500                                    'colorbar',
00501                                    'colorcube',
00502                                    'colordef',
00503                                    'colormap',
00504                                    'graymon',
00505                                    'hsv2rgb',
00506                                    'rgb2hsv',
00507                                    'rgbplot',
00508                                    'shading',
00509                                    'spinmap',
00510                                    'surfnorm',
00511                                    'whitebg',
00512                                    'autumn',
00513                                    'bone',
00514                                    'contrast',
00515                                    'cool',
00516                                    'copper',
00517                                    'flag',
00518                                    'gray',
00519                                    'hot',
00520                                    'hsv',
00521                                    'jet',
00522                                    'lines',
00523                                    'prism',
00524                                    'spring',
00525                                    'summer',
00526                                    'winter',
00527                                    'orient',
00528                                    'print',
00529                                    'printopt',
00530                                    'saveas',
00531                                    'copyobj',
00532                                    'findobj',
00533                                    'gcbo',
00534                                    'gco',
00535                                    'get',
00536                                    'rotate',
00537                                    'ishandle',
00538                                    'set',
00539                                    'axes',
00540                                    'figure',
00541                                    'image',
00542                                    'light',
00543                                    'line',
00544                                    'patch',
00545                                    'rectangle',
00546                                    'surface',
00547                                    'text Create',
00548                                    'uicontext Create',
00549                                    'capture',
00550                                    'clc',
00551                                    'clf',
00552                                    'clg',
00553                                    'close',
00554                                    'gcf',
00555                                    'newplot',
00556                                    'refresh',
00557                                    'saveas',
00558                                    'axis',
00559                                    'cla',
00560                                    'gca',
00561                                    'propedit',
00562                                    'reset',
00563                                    'rotate3d',
00564                                    'selectmoveresize',
00565                                    'shg',
00566                                    'ginput',
00567                                    'zoom',
00568                                    'dragrect',
00569                                    'drawnow',
00570                                    'rbbox',
00571                                    'dialog',
00572                                    'errordlg',
00573                                    'helpdlg',
00574                                    'inputdlg',
00575                                    'listdlg',
00576                                    'msgbox',
00577                                    'pagedlg',
00578                                    'printdlg',
00579                                    'questdlg',
00580                                    'uigetfile',
00581                                    'uiputfile',
00582                                    'uisetcolor',
00583                                    'uisetfont',
00584                                    'warndlg',
00585                                    'menu',
00586                                    'menuedit',
00587                                    'uicontextmenu',
00588                                    'uicontrol',
00589                                    'uimenu',
00590                                    'dragrect',
00591                                    'findfigs',
00592                                    'gcbo',
00593                                    'rbbox',
00594                                    'selectmoveresize',
00595                                    'textwrap',
00596                                    'uiresume',
00597                                    'uiwait Used',
00598                                    'waitbar',
00599                                    'waitforbuttonpress',
00600                                    'convhull',
00601                                    'cumprod',
00602                                    'cumsum',
00603                                    'cumtrapz',
00604                                    'delaunay',
00605                                    'dsearch',
00606                                    'factor',
00607                                    'inpolygon',
00608                                    'max',
00609                                    'mean',
00610                                    'median',
00611                                    'min',
00612                                    'perms',
00613                                    'polyarea',
00614                                    'primes',
00615                                    'prod',
00616                                    'sort',
00617                                    'sortrows',
00618                                    'std',
00619                                    'sum',
00620                                    'trapz',
00621                                    'tsearch',
00622                                    'var',
00623                                    'voronoi',
00624                                    'del2',
00625                                    'diff',
00626                                    'gradient',
00627                                    'corrcoef',
00628                                    'cov',
00629                                    'conv',
00630                                    'conv2',
00631                                    'deconv',
00632                                    'filter',
00633                                    'filter2',
00634                                    'abs',
00635                                    'angle',
00636                                    'cplxpair',
00637                                    'fft',
00638                                    'fft2',
00639                                    'fftshift',
00640                                    'ifft',
00641                                    'ifft2',
00642                                    'ifftn',
00643                                    'ifftshift',
00644                                    'nextpow2',
00645                                    'unwrap',
00646                                    'cross',
00647                                    'intersect',
00648                                    'ismember',
00649                                    'setdiff',
00650                                    'setxor',
00651                                    'union',
00652                                    'unique',
00653                                    'conv',
00654                                    'deconv',
00655                                    'poly',
00656                                    'polyder',
00657                                    'polyeig',
00658                                    'polyfit',
00659                                    'polyval',
00660                                    'polyvalm',
00661                                    'residue',
00662                                    'roots',
00663                                    'griddata',
00664                                    'interp1',
00665                                    'interp2',
00666                                    'interp3',
00667                                    'interpft',
00668                                    'interpn',
00669                                    'meshgrid',
00670                                    'ndgrid',
00671                                    'spline',
00672                                    'dblquad',
00673                                    'fmin',
00674                                    'fmins',
00675                                    'fzero',
00676                                    'ode45,',
00677                                    'ode113,',
00678                                    'ode15s,',
00679                                    'ode23s,',
00680                                    'ode23t,',
00681                                    'ode23tb',
00682                                    'odefile',
00683                                    'odeget',
00684                                    'odeset',
00685                                    'quad,',
00686                                    'vectorize',
00687                                    'spdiags',
00688                                    'speye',
00689                                    'sprand',
00690                                    'sprandn',
00691                                    'sprandsym',
00692                                    'find',
00693                                    'full',
00694                                    'sparse',
00695                                    'spconvert',
00696                                    'nnz',
00697                                    'nonzeros',
00698                                    'nzmax',
00699                                    'spalloc',
00700                                    'spfun',
00701                                    'spones',
00702                                    'colmmd',
00703                                    'colperm',
00704                                    'dmperm',
00705                                    'randperm',
00706                                    'symmmd',
00707                                    'symrcm',
00708                                    'condest',
00709                                    'normest',
00710                                    'bicg',
00711                                    'bicgstab',
00712                                    'cgs',
00713                                    'cholinc',
00714                                    'cholupdate',
00715                                    'gmres',
00716                                    'luinc',
00717                                    'pcg',
00718                                    'qmr',
00719                                    'qr',
00720                                    'qrdelete',
00721                                    'qrinsert',
00722                                    'qrupdate',
00723                                    'eigs',
00724                                    'svds',
00725                                    'spparms',
00726                                    'lin2mu',
00727                                    'mu2lin',
00728                                    'sound',
00729                                    'soundsc',
00730                                    'auread',
00731                                    'auwrite',
00732                                    'wavread',
00733                                    'wavwrite',
00734                                    '[Keywords 6]',
00735                                    'addpath',
00736                                    'doc',
00737                                    'docopt',
00738                                    'help',
00739                                    'helpdesk',
00740                                    'helpwin',
00741                                    'lasterr',
00742                                    'lastwarn',
00743                                    'lookfor',
00744                                    'partialpath',
00745                                    'path',
00746                                    'pathtool',
00747                                    'profile',
00748                                    'profreport',
00749                                    'rmpath',
00750                                    'type',
00751                                    'ver',
00752                                    'version',
00753                                    'web',
00754                                    'what',
00755                                    'whatsnew',
00756                                    'which',
00757                                    'clear',
00758                                    'disp',
00759                                    'length',
00760                                    'load',
00761                                    'mlock',
00762                                    'munlock',
00763                                    'openvar',
00764                                    'pack',
00765                                    'save',
00766                                    'saveas',
00767                                    'size',
00768                                    'who',
00769                                    'whos',
00770                                    'workspace',
00771                                    'clc',
00772                                    'echo',
00773                                    'format',
00774                                    'home',
00775                                    'more',
00776                                    'cd',
00777                                    'copyfile',
00778                                    'delete',
00779                                    'diary',
00780                                    'dir',
00781                                    'edit',
00782                                    'fileparts',
00783                                    'fullfile',
00784                                    'inmem',
00785                                    'ls',
00786                                    'matlabroot',
00787                                    'mkdir',
00788                                    'open',
00789                                    'pwd',
00790                                    'tempdir',
00791                                    'tempname',
00792                                    'matlabrc',
00793                                    'quit',                            
00794 )
00795           ),
00796      'SYMBOLS' => array( 
00797           '...' 
00798           ),
00799      'CASE_SENSITIVE' => array(
00800           GESHI_COMMENTS => true,
00801           1 => false,
00802           2 => false,
00803           //3 => false,
00804           //4 => false,
00805           ),
00806      'STYLES' => array(
00807           'KEYWORDS' => array(
00808                1 => 'color: #0000FF;',
00809             2 => 'color: #0000FF;'
00810                ),
00811           'COMMENTS' => array(
00812                1 => 'color: #228B22;',
00813                ),
00814           'ESCAPE_CHAR' => array(
00815             0 => ''
00816                ),
00817           'BRACKETS' => array(
00818             0 => 'color: #080;'
00819                ),
00820           'STRINGS' => array(
00821                //0 => 'color: #A020F0;'
00822                ),
00823           'NUMBERS' => array(
00824             0 => 'color: #33f;'
00825                ),
00826           'METHODS' => array(
00827             1 => '',
00828             2 => ''
00829                ),
00830           'SYMBOLS' => array(
00831             0 => 'color: #080;'
00832                ),
00833           'REGEXPS' => array(
00834             0 => 'color:#A020F0;'
00835                ),
00836           'SCRIPT' => array(
00837             0 => ''
00838                )
00839           ),
00840      'URLS' => array(
00841           1 => '',
00842           2 => 'http://www.mathworks.com/access/helpdesk/help/techdoc/ref/{FNAME}.html',
00843           3 => '',
00844           4 => ''
00845           ),
00846      'OOLANG' => true,
00847      'OBJECT_SPLITTERS' => array(
00848           1 => '.',
00849           2 => '::'
00850           ),
00851      'REGEXPS' => array(
00852         0 => array(
00853             GESHI_SEARCH => "([^\w])'([^\\n\\r']*)'",
00854             GESHI_REPLACE => '\\2',
00855             GESHI_MODIFIERS => '',
00856             GESHI_BEFORE => "\\1'",
00857             GESHI_AFTER => "'"
00858           )
00859           ),
00860      'STRICT_MODE_APPLIES' => GESHI_NEVER,
00861      'SCRIPT_DELIMITERS' => array(
00862           ),
00863      'HIGHLIGHT_STRICT_BLOCK' => array(
00864           )
00865 );
00866 
00867 ?>

Erzeugt am Thu May 14 00:55:48 2009 für OpenRat von  doxygen 1.5.8