![]() |
MATLAB特征函数
我很好奇,在哪里可以找到[B]特征[/B]函数的完整描述?它接受哪些参数?找不到文档。我只听说过memstats和getpid 。还要别的吗?
>> which feature built-in (undocumented) [B]回答:[/B] [INDENT]注意:可以在此处找到功能,说明和参考的更完整列表: [URL="http://undocumentedmatlab.com/blog/undocumented-feature-function/"]http[/URL] : [URL="http://undocumentedmatlab.com/blog/undocumented-feature-function/"]//UndocumentedMatlab.com/blog/undocumented-feature-function/[/URL] [/INDENT][B][I]该功能[/I][/B]是一个完全未记录且不受支持的Matlab函数,并且与大多数其他未记录的Matlab函数不同,它实际上确实经常在没有Matlab版本之间通知的情况下进行更改,因此在代码中使用此功能时要格外小心。 话虽这么说,多年来已经报告了几个功能选项,主要在CSSM论坛上,也可以在已安装的Matlab代码库中看到: [B][I]Feature[/I][/B]接受两个参数:功能名称和一个可选的新值。这类似于[B][I]get / set[/I][/B]函数:如果仅提供一个参数,则Matlab返回当前要素值(如[B][I]get[/I][/B] ),否则修改值(如[B][I]set[/I][/B] )。 [LIST][*] [B][I]功能[/I][/B] ('usehg2',1)-显然与当前正在开发的新Handle-Graphics实现有关(对于过去的几个发行版)-如果有人对HG2有任何了解,我希望能听到... [*] [B][I]功能[/I][/B] (“ JavaFigures”)-在propedit.m中提到; [URL="http://www.mathworks.com/matlabcentral/newsreader/view_thread/268464"]自R2007a禁用[/URL]本机(非Java)Matlab图形[URL="http://www.mathworks.com/matlabcentral/newsreader/view_thread/268464"]以来,[/URL]已禁用。 [*] [B][I]功能[/I][/B] ('NewPrintAPI')-在\ toolbox \ matlab \ graphics \ private \ setup.m中提到 [*] [B][I]功能[/I][/B] (“加速”?“ n / off”?-参见[URL="http://www.mathworks.com/matlabcentral/newsreader/view_thread/76874#196081"]此处[/URL] [*] [B][I]feature[/I][/B] ('getpid')- [URL="http://www.mathworks.com/support/solutions/en/data/1-3L4JU7/"]返回Matlab进程ID[/URL] (嗯,实际上是其JVM的PID,但与Matlab的PID相同)。另请参见类似的java.lang.management.ManagementFactory.getRuntimeMXBean.getName.char 。 [*] [B][I]功能[/I][/B] ('NumCores')- [URL="https://stackoverflow.com/questions/2626230/running-multiprocess-applications-from-matlab"]返回[/URL] Matlab看到[URL="https://stackoverflow.com/questions/2626230/running-multiprocess-applications-from-matlab"]的CPU内核数[/URL] [*] [B][I]功能[/I][/B] (memstats,dumpmem,processmem等)-多个在线参考 [*] [B][I]功能[/I][/B] (“热链接”)?请参阅工具箱\ matlab \ helptools \ info.m [*] [B][I]功能[/I][/B] (“ UseOldFileDialogs”),请参阅工具箱\ matlab \ uitools \ private \ usejavadialog.m [*] [B][I]功能[/I][/B] (“计时”) [LIST][*] cpucount = feature('timing','cpucount')?请参阅工具箱\ matlab \ iofun \ tempname.m(其他几个第二个arg选项)[/LIST][*] [B][I]功能[/I][/B] ('DefaultCharacterSet')-参见[URL="http://www.mathworks.com/matlabcentral/newsreader/view_thread/252869"]此处[/URL] [/LIST]以下是从已安装的R2010a Matlab代码库获得的更多参考: [LIST][*] [B][I]功能[/I][/B] (“ useGBT2”)? [I]“仅当使用-hgVersion 2选项启动Matlab时,功能('useGBT2')才可用。”[/I] -在/ ja / xlate:15419;另请参见:clf.m [*] [B][I]功能[/I][/B] (“ COM_ActxProgidCheck”标志)-/help/techdoc/helpsearch/_533.cfs [*] [B][I]功能[/I][/B] ('TimeSeriesTools',1)-/help/techdoc/helpsearch/_533.cfs [*] [B][I]功能[/I][/B] ('launch_activation','forcecheck')'?/toolbox/local/StudentActivationStatus.m [*] [B][I]功能[/I][/B] ('HGUsingMatlabClasses')'?/toolbox/local/hgrc.m、subplot.m、title.m、xlabel.m、ylabel.m、zlabel.m、mesh.m、surf.m、colorbar.m等。等等 [*] [B][I]功能[/I][/B] ('EightyColumns',1)-/toolbox/local/matlabrc.m [*] [B][I]功能[/I][/B] ('GetSharedLibExt')-/toolbox/matlab/audiovideo/private/privateMMReaderPluginSearch.m [*] [B][I]功能[/I][/B] (“语言环境”)-mlint.m,mtree.m,helpmenufcn.m [*] [B][I]功能[/I][/B] ('clearjava',1)-javaclasspath.m [*] [B][I]功能[/I][/B] (“ figuretools”)-domymenu.m [*] [B][I]功能[/I][/B] ('getdefaultprinter')'?printdlg.m:578 [*] [B][I]功能[/I][/B] ('ShowFigureWindows')-printjob.m,printtables.m,/ toolbox / matlab / graphics / private / warnfiguredialog.m [*] [B][I]功能[/I][/B] ('SearchUDDClassesForHelp')-/toolbox/matlab/helptools/+helpUtils/@HelpProcess/getHelpText.m [*] [B][I]功能[/I][/B] ('Automationserver')-notebook.m,enableservice.m = [B][I]enableservice[/I][/B] ('AutomationServer',true) [*] [B][I]功能[/I][/B] ('EnableDDE',flag)'enableservice.m = [B][I]enableservice[/I][/B] ('DDEServer',true)[/LIST]以下是[B][I]opengl[/I][/B] .m函数中使用的OpenGL相关功能: [LIST][*] [B][I]功能[/I][/B] (“ openglmode”)[*] [B][I]功能[/I][/B] ('OpenGLLoadStatus')[*] [B][I]功能[/I][/B] ('UseMesaSoftwareOpenGL',1)-仅限Unix[*] [B][I]功能[/I][/B] ('usegenericopengl',1)[*] [B][I]功能[/I][/B] ('getopenglinfo')= [B][I]opengl[/I][/B] ('info')[*] [B][I]功能[/I][/B] ('getopengldata')= [B][I]opengl[/I][/B] ('数据')[*] [B][I]功能[/I][/B] ('OpenGLVerbose',1)[/LIST] [url=https://stackoverflow.com/questions/2701215]更多&回答...[/url] |
所有时间均为北京时间。现在的时间是 05:02。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.