7/25/2023 0 Comments Propedit in gui matlabfeature(‘SetPrecision’) – accepts values 24, 53 or 64.feature(‘ClearJava’,1) – see javaclasspath.m.feature(‘JavaFigures’) – see propedit.m disabled since R2007a when native (non-Java) Matlab figures were disabled.feature(‘HGUsingMatlabClasses’) – see hgrc.m, subplot.m, title.m, xlabel.m, ylabel.m, zlabel.m, mesh.m, surf.m, colorbar.m etc.feature(‘useGBT2′) – “feature(‘useGBT2′) is only available when Matlab is started with -hgVersion 2 option.” – In /ja/xlate:15419 also see in: clf.m.If anyone has any further information about HG2 I would love to hear it… Some handle properties are not implemented in HG2, and some GUI elements appear missing (figure menubar and toolbar, for example), but the basic plots look similar to our familiar HG. It appears that the numeric HG handles have been replaced with their object-oriented (Matlab class system) handle counterparts in HG2 (today these class-system handles can be gotten using the handle function). HG2 is automatically active when Matlab is started with -hgVersion 2 option. feature(‘usehg2′,flag) – this apparently relates to a new Handle-Graphics implementation that is under development for the past few years (I think I saw references to HG2 as far back as 2007, possibly earlier).Note that many of these features may not work on your platform: Several feature options have been reported over the years, mainly on the CSSM forum and also seen in the installed Matlab code base, as listed below (the code references are from the latest Matlab release – 7.10, aka R2010a). The system_dependent function performs different functionality on each of the platforms supported by MATLAB. It will most certainly change from time to time and possibly even go away completely. The system_dependent function is an unpublished function that we use for a variety of crufty things. One of the very rare official comments about this function says: There’s even an entry in the official Matlab FAQ (which has no usful info), and I’ve seen online references going all the way back to 1993… We can find several references to system_dependent online, mostly for old Matlab releases. The built-in function system_dependent appears to be a synonym for feature (not exactly – some system_dependent features are unavailable in feature…). In some rare cases ( feature(‘timing’)), a third input argument is sometimes expected.įeature names are case-insensitive. This is similar to get/set functions: When only one argument is supplied, Matlab returns the current feature value (like get), otherwise the value is modified (like set). This article uses pure Matlab and is absolutely unrelated to Java, so those of you who are Java-phobic can be at ease trying this at home…įeature is an entirely undocumented and unsupported Matlab function, and unlike most other undocumented Matlab functions it actually does often change without prior notice between Matlab releases, so be very careful when using this function in your code.įeature accepts two arguments: the name of the feature and an optional new value. Taking a short break from Java-related stuff in Matlab, I wanted to share and expand a reply I posted a short while ago on the StackOverflow forum, in response to a reader’s request to explain Matlab’s feature function.
0 Comments
Leave a Reply. |