MATLAB® Release Notes
x ContentsChanges to External Programming Language Interfacesdocumentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9Func
R2014b2-22• Graphics objects use object handles of various types instead of the numeric handlesused in previous releases.• Graphics objects support do
Graphics2-23Display of multilingual text and symbolsAxis tick labels support TeX and LaTeX markup for special characters, such assuperscripts, subscr
R2014b2-24Compatibility considerations for graphics changesThe graphics changes introduced in R2014b support most of the functionality fromprevious re
Graphics2-25Functionality Result Use Instead Compatibility Considerationshist function Still runs histogramfunctionUse histogram instead ofhist.color
R2014b2-26Functionality Result Use Instead Compatibility ConsiderationsPassing complex inputs tocharting functions that donot support complex dataWarn
Graphics2-27Functionality Result Use Instead Compatibility Considerations'phong' value for theEdgeLighting andFaceLighting propertiesfor su
R2014b2-28Functionality Result Use Instead Compatibility ConsiderationsFixedColors,MinColorMap, WVisual,WVisualMode, XVisual,and XVisualMode figurepro
Graphics2-29Functionality Result Use Instead Compatibility ConsiderationsSpecifying a single outputargument for the voronoifunctionReturns avector of
R2014b2-30Functionality Result Use Instead Compatibility Considerationsa file, use hgsave with the.fig extension.printdmfile function andprint -dmfile
GUI Building2-31GUI Buildinguitab and uitabgroup components for creating user interfaces withtabbed panelsThe uitab function creates a tabbed panel i
xiR2013b Language and Programming . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2table data container for managing, sorting, and filteringmixe
R2014b2-32(or out of) the uipanel boundaries. Now, these items clip at the uipanel boundary.Annotations and child objects of uibuttongroups behave the
GUI Building2-33Functionality Result Use Instead Compatibility ConsiderationsSee “Properties and syntaxesbeing removed or changed”on page 2-24 for mo
R2014b2-34Performance and Big DataBig data analysis on your desktop that can scale to Hadoop withmapreduceThe mapreduce function enables analysis of d
R2014aVersion: 8.3New FeaturesBug FixesCompatibility Considerations
R2014a3-2DesktopPop-up Command History for recalling, viewing, filtering, and searchingrecently used commands in the Command WindowPop-up Command Hist
Desktop3-3Merge option in MATLAB Comparison Tool for resolving differencesbetween text filesWhen comparing text files in the MATLAB Comparison Tool y
R2014a3-4Language and ProgrammingSuggested corrections for mistyped, user-defined functions in theCommand WindowMATLAB suggests corrections for functi
Language and Programming3-5Compatibility Considerations• Do not use the -f option to build engine and MAT-file applications. Use the -clientengine op
R2014a3-6V = validatestring('',{'Cantor','','Koch'})V = ''In versions of MATLAB prior to R2014a,
Language and Programming3-7 'Item_' 'Item__1' 'Price_Unit' 'x1stOrder' 'Contact'deta
xii ContentsJava integration updated to version 7, providing access to newJava features and bug fixes . . . . . . . . . . . . . . . . . . . . . . . 4-
R2014a3-8\\folder4\. In R2012b and earlier, the same commands returned:f =C:\foo\folder1\..\folder2g =C:\foo\folder1\\\folder3\\h =\\folder4\.Compatib
Language and Programming3-9matlab.unittest plugin for Test Anything Protocol (TAP) outputThe matlab.unittest testing framework provides a plugin that
R2014a3-10• Calling External Functions—How to use functionality from other languages, such asJava, .NET, and C, in MATLAB.• MATLAB API for Other Langu
Language and Programming3-11Functionality What HappensWhen You Use ThisFunctionality?Use This Instead CompatibilityConsiderationstscollection, openva
R2014a3-12Functionality What HappensWhen You Use ThisFunctionality?Use This Instead CompatibilityConsiderationsdepdir Warns matlab.codetools.requiredF
Language and Programming3-13Functionality What HappensWhen You Use ThisFunctionality?Use This Instead CompatibilityConsiderationsmexIsGlobal in theC/
R2014a3-14Mathematicsisdiag, isbanded, issymmetric, ishermitian, istril,istriu, and bandwidth functions for testing matrix structureThe following func
Mathematics3-15 0 4.8990 0 0 0 -4.8990W = -0.5774 -0.7416 -0.0749 -0.5774 0.6667 -0.6667 -0.5774
R2014a3-16Compatibility ConsiderationsIn previous releases, the output class of these functions was dependent on the inputclass. To obtain nondouble o
Data Import and Export3-17Data Import and ExportWebcam support for previewing and acquiring live images and videoWebcam Support (2 min, 54 sec)You ca
xiiiR2013a Desktop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2Option to add separators between control
R2014a3-18Raspberry Pi hardware support for controlling devices such as motorsand actuators, and for capturing live data from sensors and camerasdirec
Data Import and Export3-19To read from a file with a .txt extension when an identically named file without anextension also exists, specify both the
R2014a3-20GUI BuildingPanel Display in GUIDE Layout AreaWhile designing a GUI with GUIDE, if you place a panel on top of controls, the layoutremains a
Performance3-21Performanceconv2 function performance improvements with three inputsThe performance of the conv2 function improves when using the conv
R2013bVersion: 8.2New FeaturesBug FixesCompatibility Considerations
R2013b4-2Language and Programmingtable data container for managing, sorting, and filtering mixed-typetabular dataTables and Categorical Arrays (6 min,
Language and Programming4-3 medium large small small medium categories(myCategorical)ans = 'small' 'med
R2013b4-4flip function, a faster and more memory efficient alternative toflipdim for flipping arrays and vectorsThe flip function provides a faster an
Language and Programming4-5Conversion changes of out-of-range numbers passed to Java methodsthat take integersMATLAB R2013b changes the way it conver
xiv ContentsDo not use classpath.txt file to modify Java static path . 5-11Functionality being removed or changed . . . . . . . . . . . . . . . 5-11Ma
R2013b4-6Changes to compiler support for building MEX-filesMATLAB no longer supports the following compilers on Microsoft Windows platforms:•Intel® C+
Language and Programming4-7To preserve the number of dimensions of a 3-D or higher dimensional data array, usepermute to reorder the data array, such
R2013b4-8MATLAB:InputParser:ParamMustBeChar. If your code checks forMATLAB:InputParser:MustBeChar, you might need to update it to check forMATLAB:Inpu
Language and Programming4-9Functionality What HappensWhen You Use ThisFunctionality?Use This Instead CompatibilityConsiderationsand time alignedwith
R2013b4-10DesktopImproved viewing and editing of one-dimensional structure arrays in theVariables editorOne-dimensional (n-by-1 or 1-by-n) structure a
Desktop4-11A drop-down list provides quick access to tabs that do not fit in the window when a largenumber of files, figures, or documents are open.
R2013b4-12Enhanced print options on Mac operating systemsOn Macintosh systems, the Print dialog box now provides more print options. You canaccess all
Desktop4-13click Print and then select Page Setup. Alternatively, from the Command Windowor Editor, use the keyboard shortcut, Command+Shift+P. The
R2013b4-14Preferences dialog box improvements for easier navigationOptions in the left pane of the Preferences dialog box are arranged by product, and
Mathematics4-15MathematicsFunctionality being removed or changedFunctionality What Happens WhenYou Use This FunctionalityUse This Instead Compatibili
xvPerformance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-30fft function performance improvements on computers wit
R2013b4-16Functionality What Happens WhenYou Use This FunctionalityUse This Instead CompatibilityConsiderationsPassing mixed-orientation vectors toint
Mathematics4-17Functionality What Happens WhenYou Use This FunctionalityUse This Instead CompatibilityConsiderationsPassing mixed-orientation vectors
R2013b4-18Functionality What Happens WhenYou Use This FunctionalityUse This Instead CompatibilityConsiderationsPassing the 'pp'flag to inter
Mathematics4-19Functionality What Happens WhenYou Use This FunctionalityUse This Instead CompatibilityConsiderationsrepmat(A,empt,n),where empt is an
R2013b4-20GraphicsMac support for copying figures in vector formats to other applicationsMATLAB for Mac now supports copying figures to other applicat
Graphics4-21Functionality What HappensWhen You UseThis Functionality?Use This Instead Compatibility Considerationsprintdlg('-setup',fig) Wa
R2013b4-22GUI BuildingCustom icons for MATLAB apps you createYou can now package a custom icon in an app that you create. When selecting an icon,click
Performance4-23Performancerepmat with numeric, char, and logical typesThe performance of the repmat function improves when the input array containsnu
R2013b4-24Data Import and Exportfprintf function prints Unicode characters to the screenThe fprintf function now displays Unicode® characters on the s
Data Import and Export4-25Functionality What HappensWhen You Use ThisFunctionality?Use This Instead Compatibility Considerationslevel functions in th
xvi ContentsDiagnostic message improvements when attempting to createan instance of an abstract class . . . . . . . . . . . . . . . . . . . . 6-9Handl
R2013aVersion: 8.1New FeaturesBug FixesCompatibility Considerations
R2013a5-2DesktopOption to add separators between controls on the quick access toolbarYou can now insert and move separators bars on the quick access t
Desktop5-3Left-aligned table of contents for navigating in the Help browser andonline Documentation CenterThe documentation now includes a table of c
R2013a5-4Removal of Handle Graphics support under -nojvm startup optionWhen you start MATLAB with the -nojvm startup option, Handle Graphics®functiona
Desktop5-5No default keyboard shortcut for overwrite modeThere is no longer a default keyboard shortcut for Overwrite mode, and OVR no longerappears
R2013a5-6Language and Programmingmatlab.unittest package, an xUnit-style testing framework forthe MATLAB language that allows writing and running unit
Language and Programming5-7For more information, see Display Custom Documentation.Changes to Microsoft .NET Framework supportAs of R2013a, the MATLAB
R2013a5-8Changes to subclasses of built-in classesSubclasses of built-in classes no longer inherit the following methods:• ones• zeros• true• false• c
Language and Programming5-9For example, the MATLAB:addtodate:Nargin identifier has changed toMATLAB:addtodatemx:Nargin. If your code checks for MATLA
xviiFunctionality being removed or changed . . . . . . . . . . . . . . . 6-19R2012a Desktop Tools and Development Environment . . . . . . . . . . . 7-
R2013a5-10mydates = {'11-Oct-2012','11-10-2012'};datevec(mydates,'dd-mmm-yyyy')ans = 2012 10 11
Language and Programming5-11Compatibility ConsiderationsTo obtain a string representation of large integers that uses decimal notation, callint2str(x
R2013a5-12MathematicsscatteredInterpolant and griddedInterpolant support forextrapolation• scatteredInterpolant is a new class for interpolating scatt
Mathematics5-13ans =uint8Integer type support for prod, cumsum, cumprod, median, mode, andnumber theory functionsThe following functions now support
R2013a5-14at query points outside the convex hull using the 'linear' or 'natural' methods.To preserve the TriScatteredInterp behav
Mathematics5-15TriRep Method Replacement triangulation Method Name ChangecartToBary cartesianToBarycentric✓circumcenters circumcenter✓edgeAttachments
R2013a5-16DelaunayTri Property ReplacementdelaunayTriangulation PropertyName ChangeTriangulation ConnectivityList✓Replacements for DelaunayTri Methods
Mathematics5-17• Cell arrays of strings can combine with char arrays.• ismember treats trailing white space in cell arrays of strings as distinct cha
R2013a5-18Functionality being removed or changedFunctionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility Considerationsqu
Mathematics5-19Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility Considerations'RelTol' name-value pair
xviii ContentsConversion of Error and Warning Message Identifiers . . . . . 7-24Specify a List of Allowed Subclasses in the Class Definition . 7-24Spe
R2013a5-20Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility Considerationsbitmax Still runs flintmax Replace all i
Mathematics5-21Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility ConsiderationsTriScatteredInterp Still runs scat
R2013a5-22Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility ConsiderationsNoninteger valuedsize inputs for zeros,o
Mathematics5-23Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility ConsiderationsgetDefaultStreammethod of RandStre
R2013a5-24Graphicsgobjects function for preallocating graphics handle arrayThe gobjects function creates an array of graphics handles. Use this functi
Data Import and Export5-25Data Import and ExportReading and writing indexed and grayscale AVI files with VideoReaderand VideoWriter objectsThe VideoR
R2013a5-26Importing non-ASCII encoded files with textscan functionThe textscan function now reads text files with non-ASCII encodings. For a complete
Data Import and Export5-27num = 1 1 1 2 2 2 3 3 3 4 4 4 5 5 5txt = 'A' &
R2013a5-28Attribute ValueAuthentication HTTP authentication mechanism.Currently, only basic authentication issupported.Username User identifier.Passwo
Data Import and Export5-29Functionality What HappensWhen You Use ThisFunctionality?Use This Instead Compatibility Considerationsauread Still runs aud
xixNew Functionality for Grid-Based Interpolation . . . . . . . . . . 8-6Performance Enhancements . . . . . . . . . . . . . . . . . . . . . . . . . 8-
R2013a5-30Performancefft function performance improvements on computers with new Inteland AMD processorsThe fft function performance improves on compu
R2012bVersion: 8.0New FeaturesBug FixesCompatibility Considerations
R2012b6-2DesktopToolstrip that replaces menus and toolbars in MATLAB DesktopNew MATLAB Desktop (5 min, 3 sec)• The Toolstrip contains components that
Desktop6-3Apps gallery that presents apps from the MATLAB product familyThe MATLAB desktop contains a gallery of apps from the MATLAB family of produ
R2012b6-4• The table of contents for each product is collapsed by default to maximize the spaceavailable for reading topics. Expand the table of conte
Desktop6-5• Custom documentation and documentation for downloadable or third-party productsdisplays in a separate browser. To access this browser, op
R2012b6-6Compatibility Considerations• The Help system now requires that custom documentation files reside outside thematlabroot folder (but on the MA
Desktop6-7Changes to -nojvm startup option on MacWhen you start MATLAB on a Mac with the -nojvm startup option, Handle Graphicsfunctionality is no lo
R2012b6-8Run configuration entries appear similar to this example:%% @name foo% @associatedFile C:\Documents\MATLAB\work\foo.m% @mostRecentlyActione
Language and Programming6-9Language and ProgrammingAbstract attribute for declaring MATLAB classes as abstractDeclare MATLAB classes as abstract by s
How to Contact MathWorksLatest news:www.mathworks.comSales and services:www.mathworks.com/sales_and_servicesUser community:www.mathworks.com/matlabcen
xx ContentsNew Support for Features in Microsoft .NET Framework . . 8-18Support for Cell Arrays . . . . . . . . . . . . . . . . . . . . . . . . 8-18Su
R2012b6-10The new behavior is consistent with that of other conditional statements, such as ifstatements.Compatibility ConsiderationsCode that uses en
Language and Programming6-11• To convert a .NET jagged array to a MATLAB array, see How MATLAB HandlesJagged Arrays.• To convert a MATLAB array to a
R2012b6-12Function Recommended Modificationstrread Replace all existing instances of strread withtextscan. For example, replace[a,b,c] = strread(...)
Mathematics6-13MathematicsPerformance improvements and multithreading for airy, psi, andBessel functionsThe following functions show improved perform
R2012b6-14Complex number support for trigonometry degree functionsThe sind, cosd, tand, asind, acosd, atand, cscd, cotd, secd, acscd, asecd, and acotd
Mathematics6-15Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility Considerationsbesseli, besselj,besselk, andbesse
R2012b6-16Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility ConsiderationsY = psi(k0:k1,X) Errors Y = psi(k,X) whe
Data Import and Export6-17Data Import and ExportData import from delimited and fixed-width text files using Import ToolThe Import Tool now allows you
R2012b6-18Reading and writing of BigTIFF image files larger than 4 GBMATLAB now supports BigTIFF image files larger than 4 GB. You can use imread or t
Data Import and Export6-19Attribute ValueCharset Character encoding, determined from theheaders of the fileFor example, to download Web content from
xxiNew Function rng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-9New Function ichol . . . . . . . . . . . . . . . . . . . . .
R2012aVersion: 7.14New FeaturesBug FixesCompatibility Considerations
R2012a7-2Desktop Tools and Development EnvironmentTranspose and Sort Variables in the Variable EditorTo transpose or sort variables, use the right-cli
Desktop Tools and Development Environment7-3Window associatedwithMATLAB.Start anotherMATLAB runningon your computer.Document open inthe MATLAB Editor
R2012a7-4Technical Support Requests Use Proxy SettingsYou can submit Technical Support requests from MATLAB by selecting Help > Submita MathWorks S
Desktop Tools and Development Environment7-5window containing these characters, you can type the characters, but if you display thecontents of the va
R2012a7-6Technical Q&A QA1067 “Setting environment variables for user processes” at http://developer.apple.com/library/mac/#qa/qa1067/_index.html.
Desktop Tools and Development Environment7-7fclose(fpOut);endTo use this function, you need to know the current encoding, from_encoding.• For MATLAB
R2012a7-8MathematicsNew Integral FunctionsThe new functions, integral, integral2, and integral3 perform numerical integration withadditional support f
Mathematics7-9Specify 'sorted' if you want the elements in the output array to be in sorted order. Forexample:C = unique([9 2 2],'sort
xxii ContentsChanges to Compiler Support . . . . . . . . . . . . . . . . . . . . . . . 9-23New Compiler Support . . . . . . . . . . . . . . . . . . .
R2012a7-10input argument to unique, union, intersect, setdiff, setxor, and ismember. Forexample:[C,IA,IC] = unique([9 9 1],'R2012a')C =
Mathematics7-11Interpolation and Computational Geometry Functionality Being Removedor ChangedFunctionality What HappensWhen YouUse ThisFunctionalityU
R2012a7-12Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility Considerationsinterp1(X, Y, Xq,[], ...) where []specif
Mathematics7-13Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility ConsiderationsPassing mixedorientation vectors t
R2012a7-14Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility ConsiderationsPassing mixedorientation vectors tointer
Mathematics7-15Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility ConsiderationsPassing mixedorientation vectors t
R2012a7-16Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility Considerationsinterp1(..., *METHOD)interp2(..., *METHO
Mathematics7-17Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility Considerationsdsearch Errors DelaunayTri/nearest
R2012a7-18Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility Considerationsmimofr Still Runs Not Applicable Remove
Mathematics7-19Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility ConsiderationsPassing mixedorientation inputvect
xxiiiManaging Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-4Ability to View Zip File Contents in Current FolderBrowser
R2012a7-20Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility ConsiderationsY = psi(k0:k1,X) Warns Y = psi(k,X) wher
Data Analysis7-21Data Analysis
R2012a7-22Programmingxlsread Reads XLSX Files on All PlatformsThe xlsread function now reads data from XLSX files on all platforms, includingsupport f
Programming7-23% Comment in file1 2 34 5 6In previous releases,t = importdata('test.txt',',')returned a numeric array:t = 1
R2012a7-243.141593e+00Conversion of Error and Warning Message IdentifiersFor R2012a, error and warning message identifiers have changed in MATLAB.Comp
Programming7-25• Events – ListenAccess and NotifyAccessWith this release, you can specify values for these attributes only explicitly as either theap
R2012a7-26• ncread• ncreadatt• ncdisp• ncinfo• netcdf.openTo use these functions to access data on remote servers using OPeNDAP protocol, specifythe U
Programming7-27Functionality What HappensWhen You UseThis Functionality?Use This Instead Compatibility Considerationshelpdesk Still runs doc Replace
R2012a7-28Graphics and 3–D Visualization
Creating Graphical User Interfaces (GUIs)7-29Creating Graphical User Interfaces (GUIs)
xxiv ContentsNew HDF4 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-13New HDF5 Low-Level Functions . . . . . . . . . . . . . .
R2012a7-30External Interfaces/APIChanges to Compiler SupportNew Compiler SupportMATLAB Version 7.14 (R2012a) supports these new compilers for building
External Interfaces/API7-31Version Support for COM ProgID ValuesYou can specify version-specific Programmatic Identifiers (ProgID) for MATLAB Version
R2011bVersion: 7.13New FeaturesBug FixesCompatibility Considerations
R2011b8-2Desktop Tools and Development EnvironmentCommand WindowError Messages Reformatted for Improved Readability and NavigationError messages in th
Desktop Tools and Development Environment8-3EditorNew Desktop features and changes introduced in this version are:Automatically Renaming All Variable
R2011b8-4file, you may have to use a different encoding scheme. UTF-8 is often used to handlemultilingual characters. In R2011b, to handle multilingua
Desktop Tools and Development Environment8-5fpOut = fopen(outfile, 'w', 'n', 'UTF-8');while feof(fpIn) == 0 lineIn = f
R2011b8-6MathematicsNew Functionality for Grid-Based InterpolationMATLAB includes a new class, griddedInterpolant, for grid-based interpolation.gridde
Mathematics8-7meshgrid(1:3,1:4,1:5) will now assume a missing third output argument andreturn 3-D output arrays x and y. Previously, the third input
xxvDesktop New Features Video for R2010a . . . . . . . . . . . . . . 13-2Startup and Shutdown . . . . . . . . . . . . . . . . . . . . . . . . . . . .
R2011b8-8Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility Considerationsproperty to a function thatevaluates the
Data Analysis8-9Data Analysis
R2011b8-10ProgrammingLoad and Save Parts of Variables in V7.3 MAT-FilesThe new matfile function creates a matlab.io.MatFile object that can efficientl
Programming8-11Compatibility ConsiderationsIf you have a program that calls another program with nonmatching letter case, the callto this function no
R2011b8-12Two Functions Added to netCDF Low-Level Package To Aid PerformanceThe NetCDF low-level package now includes two functions that you can use t
Programming8-13If you attempt to create a PreGet or PostGet listener for a property that is not declaredas GetObservable, MATLAB issues a MATLAB:clas
R2011b8-14 endendThen call the built-in version of disp:>> builtin('disp',TestClass.empty) 0x0 empty TestClass Properties: Prop
Graphics and 3-D Visualization8-15Graphics and 3-D Visualization
R2011b8-16Creating Graphical User Interfaces (GUIs)
External Interfaces/API8-17External Interfaces/APIChanges to Compiler SupportNew Compiler SupportMATLAB Version 7.13 (R2011b) supports these new comp
xxvi ContentsMath Libraries Not Available to Build MEX-Files with CompaqVisual Fortran . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
R2011b8-18Compatibility ConsiderationsIf your MEX-file uses the char16_t type, you must include the appropriate headerfile for your compiler in order
External Interfaces/API8-19• Different results for:NET.convertArray(rand(0,1,1))As of R2011a, MATLAB creates a System.Double[,]. In R2011b, MATLAB cr
R2011aVersion: 7.12New FeaturesBug FixesCompatibility Considerations
R2011a9-2Desktop Tools and Development EnvironmentDesktopNew features and changes introduced in Version 7.12 (R2011a) are:MATLAB Menus Display at the
Desktop Tools and Development Environment9-3As of R2011a, the Help Browser View > Page Location dialog box (shown above) isavailable on Japanese
R2011a9-4• “Options Names Changed for Locating and Opening Files and Folders Outside theMATLAB Desktop” on page 9-4• “Comparison and Merging of MAT-fi
Desktop Tools and Development Environment9-5Comparison and Merging of MAT-file VariablesWhen comparing MAT-files, you now can view details of differe
R2011a9-6Mouse pointerCursor (I)(I)Now, this phrase is removed from the M-Lint tooltip. You can still use the keyboardshortcut, Alt+Enter, to apply th
Desktop Tools and Development Environment9-7Shared Scope Color Preferences Apply to Persistent and Global VariablesPreviously, the preference for Var
xxviiR2009bSP1 Bug FixesR2009b Desktop Tools and Development Environment . . . . . . . . . . 15-2Startup and Shutdown . . . . . . . . . . . . . . . .
R2011a9-8notebook -setupMathWorks recommends you run this command whenever you install a new version ofMATLAB.
Mathematics9-9MathematicsNew Function rngThe new rng function controls the random number generator used by rand, randi, andrandn. For a demonstration
R2011a9-10Compatibility ConsiderationsSince the QR factorization is not unique, these different results are still correct. Ensurethat your code does n
Mathematics9-11Function Name WhatHappensWhen YouUse ThisFunctionUse This Function Instead Compatibility Considerationsrand or randnwith the 'see
R2011a9-12ProgrammingRegenerate P-code Files Built Before Version 7.5To enable the MATLAB software to take advantage of significant performanceimprove
Programming9-13device ID (other than the default, -1), check whether you need to change the ID. Todetermine your device IDs, call audiodevinfo.• audi
R2011a9-14package. Using these functions, you can create a new NetCDF file based on the schema ofan existing file, convert files between NetCDF format
Programming9-15• hdf5info is not recommended. Use h5info instead.Two New Functions Added to CDFLIB PackageThe MATLAB interface to the CDF library now
R2011a9-16The following example shows such a statement case and part of the resulting warning:simulink.badnameWarning: Direct access of structure fiel
Programming9-17Growing Arrays Is FasterThis release improves the performance of growing an array in the trailing dimension ifthat array has not been
xxviii ContentsComputational Geometry Functions Being Removed . . . . . 15-14New Sparse Matrix Functionality In qr and mldivideFunctions . . . . . . .
R2011a9-18Functions and Function Elements Being RemovedFunction or Function Element Name What HappensWhen You Usethe Function orElement?Use This Inste
Graphics and 3-D Visualization9-19Graphics and 3-D VisualizationPlot Catalog with a New Look, More Plots, and DiagnosticsThe Plot Catalog GUI now off
R2011a9-20sizes, and ordering. If validation fails, the Plot Selector provides a diagnostic message inits Help pane and does not let you run the plott
Creating Graphical User Interfaces (GUIs)9-21Creating Graphical User Interfaces (GUIs)Do not Repopulate Menus on the Mac from Inside Their CallbacksI
R2011a9-22Functions and Function Elements Being RemovedFunction or FunctionElement NameWhatHappensWhen YouUse theFunction orElement?Use This Instead C
External Interfaces/API9-23External Interfaces/APIChanges to Compiler SupportNew Compiler SupportMATLAB Version 7.12 (R2011a) supports these new comp
R2011a9-24Mac 64-Bit Platforms• Xcode 3.1 with gcc 4.0.1Compatibility ConsiderationsTo ensure continued support for building your MEX-files, consider
External Interfaces/API9-25Compatibility ConsiderationsMATLAB displays an error when you use the enumeration command to return arraysof .NET enumerat
R2010bSP2Version: 7.11.2Bug Fixes
xxixThe view Function No Longer Supports 4-by-4 TransformationMatrices as Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-27Creatin
R2010bSP1Version: 7.11.1Bug Fixes
R2010bVersion: 7.11New FeaturesBug FixesCompatibility Considerations
R2010b12-2Desktop Tools and Development EnvironmentDesktopNew desktop features and changes introduced in Version 7.11 (R2010b) are:• “Ability to Custo
Desktop Tools and Development Environment12-3• MATLAB keyboard shortcuts available in Version 7.9 (R2009a) and earlier releases• Keyboard shortcuts s
R2010b12-4download the latest translated documentation on the Japanese documentation startpage.Managing FilesNew features and changes introduced in Ve
Desktop Tools and Development Environment12-5in the archive are saved and up-to-date. For details see, Viewing File Details WithoutOpening Files or w
R2010b12-6For information on other save options, see Save Files.Enhanced Comment WrappingThe enhanced ability to wrap MATLAB comments includes:• Wrapp
Desktop Tools and Development Environment12-7• Change Current Folder to folder-name• Add folder-name to Search Path or Remove folder-name from Se
iiiContentsR2015a Desktop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2Documentation: Integrate document
xxx Contentsdocsearch Accepts Multiple Words WithoutParentheses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-4View Your Platform (
R2010b12-8Mathematics64-Bit Integer ArithmeticCore MATLAB arithmetic functions now support int64 and uint64 classes natively.Functions added are plus
Mathematics12-9All degree-based trigonometric functions (sind, cosd, tand, cotd, secd, cscd) and theirinverses (asind, acosd, atand, acotd, asecd, ac
R2010b12-10Data AnalysisArrays of Time Series Objects SupportedMATLAB now enables you to create arrays of timeseries objects. In Version 7.10(R2010a)
Data Analysis12-11Function or FunctionElement NameWhat HappensWhen You Usethe Function orElement?Use This Instead Compatibility Considerationssize(ti
R2010b12-12Programmingarrayfun Accepts Array of ObjectsThe arrayfun function now accepts an array of objects as an input. The output can also bea scal
Programming12-13New Enumeration ClassesMATLAB provides support for classes that define enumerations. Enumeration classesenable you to define a fixed
R2010b12-14• ij2ll• ll2ij• rs2llTo view the help for these functions, use the help command at the MATLAB prompt, asin the following example:help hdfgd
Programming12-15• netcdf.defGrp• netcdf.inqNcid• netcdf.inqGrps• netcdf.inqVarIDs• netcdf.inqDimIDs• netcdf.inqGrpName• netcdf.inqGrpNameFull• netcdf
R2010b12-16imread and imwrite Can Now Handle N-channel J2C JPEG 2000 FilesYou can now use the imread and imwrite functions with n-channel J2C JPEG 200
Programming12-17Functions and Function Elements Being RemovedFunction or Function Element Name What HappensWhen You Usethe Function orElement?Use Thi
xxxiSetting the Number of Threads Removed from PreferencesPanel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-16Tim
R2010b12-18that the property was missing. In this case, MATLAB did not build a struct to pass toloadobj. MATLAB now returns a struct in this case.Comp
Graphics and 3-D Visualization12-19Graphics and 3-D VisualizationPrint –dmfile and printdmfile Issue Deprecation WarningsThe –dmfile print command op
R2010b12-20Creating Graphical User Interfaces (GUIs)Functions and Function Elements Being RemovedThe uitabgroup and uitab GUI components are undocumen
Creating Graphical User Interfaces (GUIs)12-21uitab and uitabgroup Migration Document. Existing code for these functions is unlikelyto work in R2010b
R2010b12-22External Interfaces/APIChanges to Compiler SupportNew Compiler SupportMATLAB Version 7.11 (R2010b) supports these new compilers for buildin
External Interfaces/API12-23Compatibility ConsiderationsTo ensure continued support for building your MEX-files, consider upgrading to anothersupport
R2010b12-24These types of programming errors are sometimes difficult to track down. Segmentationviolations do not always occur at the same point as th
External Interfaces/API12-25• VT_I8 — signed int64• VT_UI8 — unsigned int64• Unsigned integer
R2010aVersion: 7.10New FeaturesBug FixesCompatibility Considerations
xxxii ContentsR2008b Desktop Tools and Development Environment . . . . . . . . . . 17-2Desktop New Features Video . . . . . . . . . . . . . . . . . .
R2010a13-2Desktop Tools and Development EnvironmentDesktop New Features Video for R2010aFor an overview of the major new features in the MATLAB Deskto
Desktop Tools and Development Environment13-3Ability to Compare Sets of Keyboard ShortcutsYou can now compare one set of keyboard shortcuts to anothe
R2010a13-4Improved Instructions and Examples for Adding Help and Demos to the Help BrowserThe MATLAB documentation now includes more details about how
Desktop Tools and Development Environment13-5Search History Persists Between SessionsThe Help browser can now recall searches you have made across MA
R2010a13-6Hide Search Results PreviewsYou can now choose not to see the one-line descriptions of search results called previews.To toggle all previews
Desktop Tools and Development Environment13-7Managing Files• “Create and Expand Zipped Archives from Current Folder Browser” on page 13-7• “Visual Ai
R2010a13-8You can also customize or disable this feature. For more information, see Preferences forthe Current Folder Browser and Viewing Files and Fo
Desktop Tools and Development Environment13-9File comparisons now highlight changes within lines and provide new toolbar buttons forstepping through
R2010a13-10• “Tab Completion for Local Variables and Functions” on page 13-10• “Toolbar Buttons for Stepping Through Code Cells Without Evaluating Cod
Mathematics13-11MathematicsNew Multithreading CapabilityMATLAB's new multithreading capability now includes:• fft for long vectors• The two-inpu
xxxiiiEditing and Debugging MATLAB Code . . . . . . . . . . . . . . . 17-17Create New Function and Class Files UsingTemplates . . . . . . . . . . . .
R2010a13-12Compatibility ConsiderationsScalars extricated from sparse matrices are no longer full. If you previously used theoutput with a function th
Mathematics13-13Function Name Use This Method Insteaddsearch DelaunayTri/nearestNeighbortsearch DelaunayTri/pointLocationdelaunay3 DelaunayTriCompati
R2010a13-14• MATLAB:intConvertNonIntVal• MATLAB:intConvertOverflow• MATLAB:intMathOverflowCompatibility ConsiderationsThe warning messages for integer
Mathematics13-15Compatibility ConsiderationsIf you require the old behavior, replace instances of nextpow2 withnextpow2(length(v)).Math Libraries Not
R2010a13-16Data AnalysisOperations on Timeseries Objects Sometimes Warn About the isTimeFirstPropertyIn a future release, the timeseries Boolean prope
Data Analysis13-17duplicated time values generated errors. This condition is now relaxed, such that timevectors must be nondecreasing. Interpolation
R2010a13-18ProgrammingSubscripting Into Function Return ValuesIf you have a function, such as the following, that returns a struct array:function stru
Programming13-19it does so using the permissions of the class. This gives MATLAB the same access asthe locations where the function handle was create
R2010a13-20Library Version UpgradeHDF-EOS2 2.8 to 2.16PNG 1.2.8 to 1.2.39Tiff Class EnhancementsThe Tiff class includes the following enhancements.Tif
Programming13-21Functions and Function Elements Being RemovedFunction or Function Element Name What HappensWhen You Usethe Function orElement?Use Thi
xxxiv ContentsNew Options for MException getReport . . . . . . . . . . . . . . . 17-26what Function Returns Package Information . . . . . . . . . . 17
R2010a13-22Function or Function Element Name What HappensWhen You Usethe Function orElement?Use This Instead Compatibility Considerationsstrread Still
Programming13-23Function or Function Element Name What HappensWhen You Usethe Function orElement?Use This Instead Compatibility Considerationswk1writ
R2010a13-24Graphics and 3-D VisualizationPlot Selector Supports Additional ToolboxesThe Plot Selector, which was upgraded in Version 7.9 (R2009b), now
External Interfaces/API13-25External Interfaces/APIChanges to Compiler SupportNew Compiler SupportMATLAB Version 7.10 (R2010a) supports these new com
R2010a13-26Discontinued Compiler SupportMATLAB no longer supports the following compilers:Windows (32-Bit) Platforms• Open Watcom Version 1.7• Microso
External Interfaces/API13-27Compatibility ConsiderationsIf you distribute MEX-files that call BLAS or LAPACK functions built on a CompaqVisual Fortra
R2010a13-28You do not need to make changes to build and run MEX-files with MATLAB Version 7.10(R2010a).Compatibility ConsiderationsSource for MEX-file
R2009bSP1Version: 7.9.1Bug FixesNew features and changes introduced in this version are as follows:The version number of the MATLAB Compiler Runtime (
R2009bVersion: 7.9New FeaturesBug FixesCompatibility Considerations
xxxvWindows (64-bit) platforms . . . . . . . . . . . . . . . . . . . . 17-39Solaris SPARC (64-bit) platform . . . . . . . . . . . . . . . . 17-39Use m
R2009b15-2Desktop Tools and Development EnvironmentStartup and ShutdownChanges to -nodisplay and -noFigureWindows Startup OptionsWhen you start MATLAB
Desktop Tools and Development Environment15-3• “Ability to Customize Keyboard Shortcuts” on page 15-3• “Ability to Set Fonts Preferences for Extended
R2009b15-4Command Window and Editor/Debugger only. For instance, on Windows, defaultkeyboard shortcut preferences appeared as follows:To restore keybo
Desktop Tools and Development Environment15-5• Function and block names with brief descriptions — Expand Functions or Blocks,and then expand a catego
R2009b15-6• Sort results by Relevance, in addition to sorting by Type and Product, which wereavailable in previous versions.• After sorting by Type or
Desktop Tools and Development Environment15-7•Use the new Actions button on the display pane toolbar to access features such asRefresh, which clear
R2009b15-8Compatibility ConsiderationsThe Index and Demos tabs are no longer in the Help browser:• To find terms that were in the Index, use the searc
Desktop Tools and Development Environment15-9For an overview of the enhancements, watch this video, Current Folder BrowserEnhancements, or review the
R2009b15-10Compatibility Considerations• With the new tree structure, you now see all files, including those in subfolders.You might not be able to ru
Desktop Tools and Development Environment15-11• You now search for files by clicking the search button in the address bar. In previousversions, the s
xxxvi ContentsRunning Functions — Command Window and History . . . . 18-7Command History Preference — Default ValueChanged . . . . . . . . . . . . . .
R2009b15-12If you have questions while you work, access the File Exchange FAQ by clicking theHelp button . For full documentation, see File Exchange
Desktop Tools and Development Environment15-13• “File and Folders Comparison Tool Enhanced” on page 15-13Syntax Highlighting for VHDL and Verilog Cod
R2009b15-14MathematicsComputational Geometry Functions Being Changed2- and 3-D computational geometry functions (delaunay, convhull, griddata,voronoi,
Mathematics15-15Support for Large-Sized Dimensions In fftMATLAB functions fft, fft2, and fftn (and their inverses ifft, ifft2, and ifftn)can now hand
R2009b15-16New Test Matrices in gallery FunctionThe gallery suite of test matrices includes new options integerdata, normaldata, anduniformdata.
Data Analysis15-17Data AnalysisImproved Plot Selector Makes Graphic Data Exploration EasierThe Plot Selector button on the Workspace Browser and Vari
R2009b15-18ProgrammingIgnore Selected Arguments on Function CallsThis version of MATLAB introduces a new usage for the tilde (~) operator. As inearlie
Programming15-19Internal Packages Make Reserved Functions Easy to IdentifyThe MathWorks® reserves the use of packages named internal for utility func
R2009b15-20rethrow(MException), introduced in version 7.5, accepts an MException object as input,and is the recommended form.Compatibility Considerati
Programming15-21Compatibility ConsiderationsBecause mmreader imports Motion JPEG 2000 files, the functionmmreader.isPlatformSupported always returns
xxxviiInclude Snapshot of M-file Output in PublishedDocument . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-25Internationalization .
R2009b15-22obj(int).Prop(n)where int is a positive integer.Equality of Objects Using isequal Now Ignores Numeric ClassBefore MATLAB 7.9, an expression
Programming15-23New Tiff Object Enables Writing of Tiled Data and Broader MetadataSupportUsing the new Tiff object, you can now write portions of a T
R2009b15-24Graphics and 3-D VisualizationEnhanced Plot Selector Simplifies Data DisplayThe Plot Selector workspace tool creates graphs of workspace va
Graphics and 3-D Visualization15-25Use the Plot Selector tool to instantly generate graphs of workspace variables. You canchoose from more than 40 tw
R2009b15-26Compatibility Considerations• In previous versions, the Plot Selector automatically assigned variables named tand time to the x-axis. Now,
Graphics and 3-D Visualization15-27The view Function No Longer Supports 4-by-4 Transformation Matrices asInputThe view function. no longer supports 4
R2009b15-28Creating Graphical User Interfaces (GUIs)Expanded Documentation on Techniques for Programmatic GUI DesignThe section Lay Out a Programmatic
External Interfaces/API15-29External Interfaces/APIChanges to Compiler SupportSupport for Apple Macintosh (64-bit) PlatformsMATLAB Version 7.9 (R2009
R2009b15-30Compatibility ConsiderationsTo ensure continued support for building your Fortran programs, consider upgradingto another supported compiler
External Interfaces/API15-31• You can access elements of a .NET array using MATLAB one-based indexing, asdescribed in Accessing .NET Array Elements i
xxxviii ContentsCreating Graphical User Interfaces (GUIs) . . . . . . . . . . . . 18-41New GUI Table Component . . . . . . . . . . . . . . . . . . . .
R2009aVersion: 7.8New FeaturesBug FixesCompatibility Considerations
R2009a16-2Desktop Tools and Development EnvironmentDesktop New Features VideoFor an overview of the major new features in the MATLAB Desktop Tools and
Desktop Tools and Development Environment16-3tries to use a system browser, it produces a warning. To correct the problem, use Webpreferences to spec
R2009a16-4Help Browser No Longer Reopens at StartupWhen you start MATLAB, the Help browser no longer automatically opens if you had itopen when you la
Desktop Tools and Development Environment16-5• You can use the new View menu to choose the columns to display, to specify the sortorder for a column,
R2009a16-6When you click the link, the message window expands to display an explanation andsuggested action.
Desktop Tools and Development Environment16-7When you click a link within the extended message, the Help browser opens to providemore information.M-L
R2009a16-8• Containing a string• Corresponding to a particular message ID• Within a given category• With a setting different from the defaultFiltering
Desktop Tools and Development Environment16-9Block Indenting Option No Longer ProvidedThe Block Indent option is no longer available. Previously, thi
xxxixDesktop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-3Minimizing Tools in the Desktop Now Supported onMacin
R2009a16-10Note: Do not confuse the Block Indent option with the Smart indenting option, whichis still provided.Compatibility ConsiderationsTo attain
Desktop Tools and Development Environment16-11Tuning and Managing MATLAB Code FilesProfile Summary Report Includes Information on Excluded Profiling
R2009a16-12MathematicsUpgrade to Computational GeometryMATLAB includes a new object-oriented suite of computational geometry tools, togetherwith a new
Mathematics16-13Changes To convThe conv function now accepts the shape parameter as input.Changes To conv2 and convnUse of the conv2 and convn functi
R2009a16-14New Multithreading Capability in MATLAB FunctionsThe MATLAB functions for Fourier transforms fft, fft2, and fftn, and their inverses ifft,i
Data Analysis16-15Data Analysis
R2009a16-16Programming FundamentalsSetting the Number of Threads Removed from Preferences PanelThe capability to adjust the number of computational th
Programming Fundamentals16-17mmreader Supports Linux PlatformsThe mmreader object now supports Linux platforms. For more information about usingmmrea
R2009a16-18size and range Implemented for validateattributesThe validateattributes function now enables you to check the size and range of the inputva
Programming Fundamentals16-19Now modify the function slightly so that the input variable is named java and run it ona version of MATLAB prior to Vers
iv ContentsUnit Testing Framework: Share variables between tests inscripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xl ContentsNew Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-18finite Function Deprecated . . . . . . . . . . . . . .
R2009a16-20constructor for class C should not call the constructor for class A to initialize properties.The call to initialize class A properties shou
Graphics and 3-D Visualization16-21Graphics and 3-D VisualizationFunctions Previously Only Available in the Image Processing ToolboxNow Available in
R2009a16-22Creating Graphical User Interfaces (GUIs)New Programmatic GUI Doc ExampleA new example in the documentation teaches you how to code a GUI t
External Interfaces/API16-23External Interfaces/APINew Interface to Microsoft .NET FrameworkThe interface to .NET allows you to bring .NET assemblies
R2009a16-24Windows (32-bit) Platforms• Intel Visual Fortran Version 9.1• Intel Visual Fortran Version 10.1• Intel C/C++ Version 9.1• Microsoft Visual
External Interfaces/API16-25Do Not Use mxFree to Destroy mxArraysIt is improper to call mxFree on an mxArray. Previously, to remedy misleadingstateme
R2009a16-26Compatibility ConsiderationsOn 64-bit platforms, you must use 64-bit integers for all input and output variableswhen calling LAPACK and BLA
External Interfaces/API16-27Improved Robustness of Web Services FunctionsThe underlying technology used in the createClassFromWsdl and parseSoapRespo
R2008bVersion: 7.7New FeaturesBug FixesCompatibility Considerations
xliAnnotation Textboxes Can Automatically Resize to Fit theirContents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-30Pro
R2008b17-2Desktop Tools and Development EnvironmentDesktop New Features VideoFor an overview of the major new features in the MATLAB Desktop Tools and
Desktop Tools and Development Environment17-3Contents of MATLAB Root DirectoryWhen you use file browser GUIs to navigate in the MATLAB root directory
R2008b17-4Specifying Address Space Protection During Startup on Windows PlatformsWhen you start MATLAB on Microsoft Windows 32-bit platforms, you can
Desktop Tools and Development Environment17-5• If you have been using the -nojvm startup option because of memory or performancebenefits, look for ot
R2008b17-6Preferences Opens to Last Pane UsedWhen you open the Preferences dialog box, it displays the last preference pane youviewed in the current s
Desktop Tools and Development Environment17-7specify the products to look in, browse categories of functions, and search for words thatappear in func
R2008b17-82The arguments you can enter appear in bold. Enter your first argument and type acomma ( , ) after it. The syntax options in the pop-up wind
Desktop Tools and Development Environment17-9• “Viewing an HTML Version of Help for Classes You Create” on page 17-9• “Finding Text In Small Help Win
R2008b17-10
Desktop Tools and Development Environment17-11Finding Text In Small Help WindowsThe Find dialog box is now available from the small help windows used
xlii ContentsR2007a Desktop Tools and Development Environment . . . . . . . . . . 20-2Startup and Shutdown . . . . . . . . . . . . . . . . . . . . . .
R2008b17-12Current Directory Browser Enhanced, Including New Navigation and Grouping FeaturesThe Current Directory browser includes new ways to naviga
Desktop Tools and Development Environment17-13View elements inthe selected file.Double-click anelement to openthe file, at thelocation of thatelement
R2008b17-14Change What To Do Instead In Version 7.7 (R2008b)• Go up one level button — Instead, select a directory onelevel up by using the address ba
Desktop Tools and Development Environment17-15Change What To Do Instead In Version 7.7 (R2008b)The File Filter options,accessible from thecontext men
R2008b17-16With empty matrices returned, code you write to use the results of dir can be simplerand more robust. For more information, see the referen
Desktop Tools and Development Environment17-17You will experience a problem if you have any directories that contain a semicolon intheir name. You wi
R2008b17-18Set Color and Width of Right-Hand Text LimitIn the Editor, where you can enable a vertical line to indicate a right-hand text limit, younow
Desktop Tools and Development Environment17-19appears. Use the context menu to fix.For an example, see the Suppressing All Messages on a Line with ml
R2008b17-20Block Indenting Will Not Be Included in Next VersionThe Block Indent option will no longer be provided, starting in the next version ofMATL
Desktop Tools and Development Environment17-21• “Include Figure Window Details in Published Documents” on page 17-21• “Inline Math Supported in Publi
xliiiDelimiter Matching Extended to Include LanguageKeyword Pairs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-19M-Lint Automatic Correc
R2008b17-22MathematicsUpgrade to Random Number Generator• The randn function uses a new longer period random number algorithm as its default.• The new
Mathematics17-23Functions and Properties Being RemovedFunction or PropertyNameWhat HappensWhen You UseFunction orProperty?Use This Instead Compatibil
R2008b17-24Data AnalysisSpecialized Data Tips for the hist FunctionWhen you create a histogram display using hist and place data tips in the plot in d
Programming Fundamentals17-25Programming FundamentalsFast Key Lookup Provided with New Map Data StructureThis release introduces a new MATLAB class c
R2008b17-26Tic and Toc Support Multiple Consecutive TimingsThe tic and toc timing functions now support multiple consecutive timings. Call ticwith an
Programming Fundamentals17-27 'crc' 'commdevice' 'commsrc' 'commgui' 'commscope'
R2008b17-28pause querystate = pause('query')• To return the previous pause state when enabling or disabling pausing, use one of thefollowing
Programming Fundamentals17-29• To import from the clipboard using the MATLAB menus, use Edit > Paste toWorkspace instead of using File > Import
R2008b17-30Two Types of issorted Warnings Are Now ErrorsIn previous versions, the issorted function generated a warning for the following twocases:• i
Programming Fundamentals17-31Compatibility ConsiderationsBecause spmd is a new keyword, it will conflict with any user-defined functions orvariables
xliv ContentsTechnique to Conserve Memory on Windows Vista . . . . . . 20-31ispuma Function Deprecated . . . . . . . . . . . . . . . . . . . . . . . 2
R2008b17-32??? In an assignment A(:) = B, the number of elements in A and Bmust be the same.MATLAB objects behave in the same way:ts_obj = timeserie
Graphics and 3-D Visualization17-33Graphics and 3-D VisualizationCertain Printer Formats and Drivers Now Warn When UsedGoing forward, MathWorks is pl
R2008b17-34Printer Driver print Command Option StringHP DeskJet 500C/540C color (notsupported on Windows OS)-dcdj500HP Deskjet 550C color (not support
Graphics and 3-D Visualization17-35Handle Graphics Not Supported Under -nojvm Startup OptionIf you start MATLAB with matlab -nojvm (which disables Ja
R2008b17-36Creating Graphical User Interfaces (GUIs)Undocumented Functions RemovedThe following set of deprecated functions, all of which were previou
Creating Graphical User Interfaces (GUIs)17-37Handle Graphics Not Supported Under -nojvm Startup OptionIf you start MATLAB with matlab -nojvm (which
R2008b17-38External Interfaces/APIDo Not Use DLL File Extensions for MEX-FilesIn the future, on 32-bit Microsoft Windows systems, MATLAB will not supp
External Interfaces/API17-39Microsoft Windows 64-bit and 32-bit Platforms• Microsoft Visual Studio 2008 Express EditionCompiler Support to Be Phased
R2008b17-40New Function Displays Information about MEX Compiler ConfigurationsThe mex.getCompilerConfigurations function displays information about th
External Interfaces/API17-41• Visual Studio 2008 Professional Edition• Visual Studio 2005 Professional EditionRun-Time Libraries Required for Applica
xlvChanges to MATLAB Version-Specific ProgID . . . . . . 20-44Changes to Handling Microsoft ActiveX Methods . . . . . . . 20-44R2006b Desktop Tools an
R2008b17-42Compatibility ConsiderationsCalling the events (COM) function on affected types of COM server components returnsa list of events for the la
R2008aVersion: 7.6New FeaturesBug FixesCompatibility Considerations
R2008a18-2Desktop Tools and Development EnvironmentDesktop New Features VideoFor an overview of the major new features in the MATLAB Desktop Tools and
Desktop Tools and Development Environment18-3value, or reset the value to the default. For more information, see Default StartupDirectory (Folder) on
R2008a18-4Macintosh Platforms — Define Startup Options Using New Dialog BoxOn Apple Macintosh platforms, you can specify startup options using the new
Desktop Tools and Development Environment18-5Compatibility ConsiderationsIf you use a specific version of Sun Microsystems Java with MATLAB on the So
R2008a18-61. Select the toolbar you want to customize.3a. To move a control, first select it.3b. Then selecta move buttonto reposition it.2. Select th
Desktop Tools and Development Environment18-7You can change the position of the toolbars within a tool, for example, putting both theEditor and Edito
R2008a18-8Compatibility ConsiderationsPreviously, the default value for the Save after n commands preference was 5.HelpPreferences for Help on Selecti
Desktop Tools and Development Environment18-9Array Editor Renamed to Variable Editor; Offers Enhanced Support for Structures and ClassesThe Array Edi
xlvi Contentsmlintrpt Option Added to Use Preference Settings File 21-13Toolbar Refresh Button Removed . . . . . . . . . . . . . . . 21-14Publishing R
R2008a18-10Double-click an object inthe Workspace browser andit displays the object'sproperties in the Variable Editor.Object and class.Propertie
Desktop Tools and Development Environment18-11New Context Menu Options in Current Directory BrowserThe context menu, which you access by right-clicki
R2008a18-12Editing and Debugging M-FilesNew features and changes introduced in Version 7.6 (R2008a) are:• “Stand-Alone Editor No Longer Provided” on p
Desktop Tools and Development Environment18-13Compatibility ConsiderationsYou now use the Run button to execute a run configuration and the Continue
R2008a18-14• Function code• If/else blocks• Switch/case blocks• Try/catch blocks• While blocksPrior to MATLAB Version 7.6 (R2008a), code folding was s
Desktop Tools and Development Environment18-15• LASTERR and LASTERROR are better replaced by an identifier on theCATCH block. See doc CATCH.• The val
R2008a18-16dbstop and dbclear Functions — Option to Specify File Not on PathThe –completenames option to the dbstop and dbclear functions enables you
Desktop Tools and Development Environment18-17Publish Functions and Scripts Using Publish Configurations; Includes Replacement of PublishingPreferenc
R2008a18-18Compatibility ConsiderationsPreviously, preferences for publishing and publishing images were available on thePreferences dialog box, which
Desktop Tools and Development Environment18-19Nest Cells for Finer ControlYou can nest cells in an M-file, including within functions and control sta
xlviiComma Separators Not Required in Function Declaration . 21-27Improved Performance on Certain Platforms andOperations . . . . . . . . . . . . . .
R2008a18-20
Desktop Tools and Development Environment18-21Similarly, the cell break within the for loop enables you to run the M-file andexperiment with the mark
R2008a18-22cell break and one below it. Now, if you insert a cell break, MATLAB also inserts implicitcell breaks.In the example shown, it inserts two
Desktop Tools and Development Environment18-23Version 7.5 (R2007b) Explicit cell break
R2008a18-24Version 7.6 (R2008a) Implicitcell breakExplicit cell breakImplicitcell breakSee Nested Code Cells for details.
Desktop Tools and Development Environment18-25Publish Button MovedThe Publish button, , is now located on the Editor toolbar.Compatibility Considera
R2008a18-26The following image, for example, shows a published document that uses this feature(with the size of the images reduced). Notice that the p
Desktop Tools and Development Environment18-27Macintosh OS X Platform ChangesOn Apple Macintosh OS X systems, for users selecting the Chinese languag
R2008a18-28MathematicsUpgrade to BLAS LibrariesMATLAB software now uses new versions of the Basic Linear Algebra Subroutine(BLAS) libraries. For Windo
Mathematics18-29Function or PropertyNameWhat HappensWhen You UseFunction orProperty?Use This Instead Compatibility Considerationsflops Errors None Re
xlviii ContentsJVM Software Updated for 64-Bit Linux Platforms . . . 22-3Desktop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
R2008a18-30Data AnalysisData Brushing for Graphs and Linked Variables• “Data Brushing Tool” on page 18-31• “Data Brushing API” on page 18-32• “Data Li
Data Analysis18-31applied to most graphs (some plot types do not support brushing). Data brushing is anexclusive, persistent mode. That is, when usin
R2008a18-32If you leave data brushing mode to zoom, pan, or edit the plot, all brushed observationsremain highlighted. You can then reenter brushing m
Data Analysis18-33On the left side of the information bar is a drop-down menu that displays thesymbolism and identifies the data source for each se
R2008a18-34Data Linking APIUse the linkdata function to turn data linking on or off for the current figure or for afigure for which you supply a handl
Programming18-35ProgrammingMultithreaded Computations EnabledMultithreaded computations, introduced in R2007a, are now on by default.Compatibility Co
R2008a18-36Clear Variables with ExceptionsWith the new clearvars function, you can specify which variables you do not want clearedfrom memory.Informat
Programming18-37• imfinfo can now return Exif data for JPEG or TIFF format image files. Informationspecific to the digital camera can be found in the
R2008a18-38Graphics and 3-D VisualizationNew Figure Toolbar ButtonsTwo new toolbar buttons and an information bar have been added in this release that
Graphics and 3-D Visualization18-39• loglog• mesh• plot• plot3• quiver• quiver3• scatter• scatter3• semilogx• semilogy• stairs• stem• stem3• subplot•
xlixNew Library CHOLMOD for Sparse Cholesky Factorization 22-14New Solver for State-Dependent DDEs . . . . . . . . . . . . . . . 22-14Upgrade to BLAS
R2008a18-40are used to contain them in Version 7 than before. That is, the annotation objects havenever been backward compatible.
Creating Graphical User Interfaces (GUIs)18-41Creating Graphical User Interfaces (GUIs)New GUI Table ComponentThe new uitable component allows you to
R2008a18-42hidegui Function Being ObsoletedThe hidegui function is being obsoleted and will be removed in a future version. Insteadof this function us
Creating Graphical User Interfaces (GUIs)18-43Enable Status Mouse ButtonPressedKey ModifierPressedSelectionTypeon First ClickSelectionTypeon Second C
R2008a18-44External Interfaces/APIInterface to Generic DLLs Supported on 64-bit PlatformsThe ability to load a generic DLL on 64-bit platforms using l
External Interfaces/API18-45Macintosh (Intel-based 32-bit) platforms• Apple Xcode 3.0 (gcc / g++ Version 4.0.1)Discontinued Compiler SupportThe follo
R2008a18-46Compatibility ConsiderationsPrior to this release, MATLAB contained Perl Version 5.005. Consult your Perldocumentation for details on the c
External Interfaces/API18-47propertyValue = get(javaObject, 'PropertyName'); set(javaObject, 'PropertyName', newValue);Compatibil
R2008a18-48Environment Variables Required with Intel Visual Fortran 9.0When you build a MEX-file, an engine application, or a MAT application using In
External Interfaces/API18-49Changes to Dynamic Data Exchange (DDE) DocumentationIn MATLAB Version 5.1, all development work for the Dynamic Data Exch
vGraphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-18drawnow Function: Improve performance in animation l
l ContentsNew Microsoft and Intel Compilers Supported . . . . . . . . . 22-27Environment Variables Needed for Intel VisualFortran . . . . . . . . . .
R2007bVersion: 7.5New FeaturesBug FixesCompatibility Considerations
R2007b19-2Desktop Tools and Development EnvironmentStartup and ShutdownWindows Platforms Startup ChangesYou can now change the MATLAB startup director
Desktop Tools and Development Environment19-3If scripts include the -sd startup option to specify the startup directory, that will be thestartup dire
R2007b19-4New Desktop Layout — All but Command Window MinimizedSelect Desktop > Desktop Layout > All but Command Window Minimized toarrange the
Desktop Tools and Development Environment19-5Start Button — View Source Files RenamedTo add your own toolboxes to the Start button, select Start >
R2007b19-6collapsed sessions. For more information, see Quick Search for Entries Beginning withSpecified Letters or Numbers.Pop-Up Help for a Function
Desktop Tools and Development Environment19-7In the Help Contents, Link and Target products appear together after any installedSimulink and blockset
R2007b19-8If you add help or demos to the Help browser for your own toolbox or list your owntoolbox in the Start button and you want to take advantage
Desktop Tools and Development Environment19-9
liHyperlink Color Preference Moved . . . . . . . . . . . . . . . 23-6Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
R2007b19-10Compatibility ConsiderationsIn the previous version, you could select the function name, right-click, and select Helpon Selection. The docu
Desktop Tools and Development Environment19-11Run/Continue Button ChangesThe Run/Continue button has a new look and new location on the Editor/Debugg
R2007b19-12New look and position of Run/Continue buttonRun/Continue button in previous versionsCompatibility ConsiderationsThe button performs the sam
Desktop Tools and Development Environment19-13Quick Help for a Function in the EditorFor more information, see “Help on Selection Enhanced in Command
R2007b19-14Compatibility ConsiderationsIf you use the Notepad application to view files provided with MATLAB, you see carriagereturn and line feed sym
Desktop Tools and Development Environment19-15The following illustration shows how the ver M-file included with MATLAB Version 7.5looks when opened i
R2007b19-16• Tab completion• Debugging M-files• Evaluating selections• Accessing source control features• Docking the tool in the MATLAB desktop• Usin
Desktop Tools and Development Environment19-17Text Markup in Cells for PublishingThe following Editor/Debugger menu items are added to assist you in
R2007b19-18MathematicsNew FunctionsFunction Descriptionquadgk Numerically evaluates the integral, adaptive Gauss-Kronrod quadraturebvp5c Solves bounda
Mathematics19-19Upgrade to BLAS LibrariesFor AMD processors, MATLAB software now uses Version 3.6 of the AMD Core MathLibrary (ACML™) for the Basic L
lii Contentssvd Returns Economy Decomposition . . . . . . . . . . . . . . . . 23-17New Location for LAPACK Libraries . . . . . . . . . . . . . . . . .
R2007b19-20 98Existing program code that relies on the colon operations of character arrays returning adouble, needs to be updated to expect a char
Data Analysis19-21Data Analysis
R2007b19-22ProgrammingIncreased Size for Large ArraysOn 64-bit platforms, MATLAB arrays are no longer limited to 231 elements. The limit inMATLAB 7.5
Programming19-23New Split String Functionality in regexpUsing the regular expressions function regexp, you can now split an input string intosections
R2007b19-24 % Deal with the error captured in MException object, ME - code to handle the error -endME is an object of the MException class. This c
Programming19-25 name: '@()error('* Error *')' line: 1 % V7.4 response line: 0
R2007b19-26Compatibility ConsiderationsIf you call hdfread in a script to perform an I/O operation and that operation fails,your script will now termi
Programming19-27Windows Current Working Directory CorrectedOn Windows, you can define a current working directory, cwd, for each drive letter. Forexa
R2007b19-28Compressed AVI Video Files in Windows Vista and Windows XP x64Because Windows Vista, Windows Vista 64-bit, and Windows XP x64 operating sys
Programming19-29Removal of freeserial FunctionThe freeserial function is now obsolete. Use fclose to release the serial port.Compatibility Considerat
liiiNew Return Value for mexext on Windows Systems . 23-30New mexext Script to Obtain MEX-File Extension inMakefiles . . . . . . . . . . . . . . . . .
R2007b19-30Graphics and 3-D VisualizationDatatips Are Now Saved to FIG-FilesWhen you save a figure, all datatips existing in it are saved along with o
Graphics and 3-D Visualization19-31annotation function, it can grow or shrink to just fit the text you type into it. Thisbehavior is controlled by th
R2007b19-32If you edit a textbox that has FitBoxToText set to 'on', the textbox resizes toaccommodate the number of characters and lines in
Graphics and 3-D Visualization19-33Property Inspector Now Has Context-Sensitive HelpWhen you use the Property Inspector (the inspect command), you ca
R2007b19-34• scatter• scatter3• semilogx• semilogy• stairs• stem• stem3• subplot• surf• surfcCompatibility ConsiderationsSpecifying the v6 flag to any
Creating Graphical User Interfaces (GUIs)19-35Creating Graphical User Interfaces (GUIs)New Editors for Creating Custom Toolbars within GUIDEIn previo
R2007b19-36Both measurements are given in pixels, regardless of the current Units settings for GUIobjects. When multiple objects are selected, any ele
Creating Graphical User Interfaces (GUIs)19-37Function Name What HappensWhen You Run theFunction?Use This Function Instead CompatibilityConsideration
R2007b19-38External Interfaces/APISupport for 64-bit mxArraysMATLAB Version 7.5 (R2007b) supports 64-bit mxArrays. This change allows C/C++ andFortran
External Interfaces/API19-39Changes to the MATLAB Locale SettingRetrieving and using the proper locale setting is a mandatory operation in creatingan
liv ContentsSource Control Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-6Register Project Feature Added; Add to Source ControlBe
R2007b19-40• “New Compiler Support” on page 19-40• “Discontinued Compiler Support” on page 19-40• “Compiler Support to Be Phased Out” on page 19-40New
External Interfaces/API19-41• Compaq Visual Fortran Version 6.6• Intel C++ Version 7.1• Borland C++Builder 6 Version 5.6• Borland C++Builder 5 Versio
R2007b19-42Windows (32-bit) platformDefine the environment variable VS71COMNTOOLS. The value of this environmentvariable is the path to the Common7\To
External Interfaces/API19-43Compatibility ConsiderationsIf you must support this obsolete functionality, we suggest you print a copy of theExternal I
R2007aVersion: 7.4New FeaturesBug FixesCompatibility Considerations
R2007a20-2Desktop Tools and Development EnvironmentStartup and ShutdownNew features and changes introduced in Version 7.4 (R2007a) are• “Double-Clicki
Desktop Tools and Development Environment20-3Now on Microsoft Windows and Macintosh platforms, the Import Wizard opens in theexisting session of MATL
R2007a20-4Compatibility ConsiderationsIn previous releases, the default startup directory was \Work, located in the directoryin which MATLAB was insta
Desktop Tools and Development Environment20-5Windows Vista User Account Control (UAC) security features restrict access to ProgramFiles. To accommoda
lvExternal Interfaces/API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-17New File Archiving Functions and Functionality . . . . . . .
R2007a20-6Compatibility ConsiderationsIf you use a specific version of Java with MATLAB on Windows platforms, this changemight impact you.New Version
Desktop Tools and Development Environment20-7button and select Restore toolname to return the tool to the desktop. Perform thesetasks for the selecte
R2007a20-8When minimized, a tool, such as the Command Window in this example,is represented by a button on the desktop border.
Desktop Tools and Development Environment20-9Hover over or click the button for a minimized tool to temporarily view the tool.The tool is temporarily
R2007a20-10On the button for a minimized tool, right-click, and from the context menu, select Restore.The tool resumes the size and position it had in
Desktop Tools and Development Environment20-11Default desktop layout.Maximize a tool, for example, the Command Windowso it occupies the full MATLAB d
R2007a20-12Maximized, the Command Window now occupies the full desktop area.Restoring the Command Window returns it to its original size andlocation i
Desktop Tools and Development Environment20-13The Current Directory browser and Workspace browser are"tabbed together".The name of the tool
R2007a20-14Multithreaded Computation Support Added; Enable Via New PreferenceIf you run MATLAB on a multiple-CPU system (multiprocessor or multicore),
Desktop Tools and Development Environment20-15Macintosh Platforms—Some Key Bindings in Command Window ChangedOn Macintosh platforms, some key binding
R2007a20-16• More easily see if this same documentation page has been updated for the latestproduct version.Include Search Database for Your Own Help
Desktop Tools and Development Environment20-17Current Directory Browser Enhancements• When you double-click a Windows shortcut in the Current Directo
R2007a20-18• “Delimiter Matching Extended to Include Language Keyword Pairs” on page 20-19• “M-Lint Automatic Correction Feature” on page 20-19• “M-Li
Desktop Tools and Development Environment20-19Delimiter Matching Extended to Include Language Keyword PairsYou can now see the match to language keyw
R2007a20-20Terminate statement with semicolon to suppress output.However, M-Lint suppressed displaying the message for files with three or more cells
Desktop Tools and Development Environment20-21Compatibility ConsiderationsSee the compatibility considerations associated with “M-Lint Detection of M
R2007a20-22MathematicsNew FunctionsFunction Descriptionbsxfun Applies an element-by-element binary operation to two fullarrays with singleton expansio
Mathematics20-23rand('twister',5489);Note that the 'state' keyword corresponds specifically to the SWB algorithm;it cannot be use
R2007a20-24Compatibility ConsiderationsExisting program code that relies on mode of an empty array to return an empty arrayshould be modified.Change t
Data Analysis20-25Data Analysis
R2015aVersion: 8.5New FeaturesBug FixesCompatibility Considerations
R2007a20-26ProgrammingNew FunctionsNew Functions in this release areFunction Descriptionassert Generates an error when a specified condition is violat
Programming20-27extra task of sorting through the output and merging like data types together in yourown code.For more information, see the textscan
R2007a20-28fileinfo = name: 'myfile.txt' date: '16-Mar-2006 13:34:01' bytes: 251 isdir: 0 datenum: 7.327
Programming20-29 'MATLAB'eval(s)ans = MATLABCompatibility ConsiderationsYou might have to modify M-file programs that expect the previo
R2007a20-30try statements, catch statements, endWarning: This try-catch syntax will continue to work in R2007a, but may be illegal or may mean somethi
Programming20-31In the following example, function myfun1 is not callable if the current working directoryis set to dir1. The same holds true for myf
R2007a20-32Compatibility ConsiderationsIt is recommended that you remove calls to ispuma from your M-file functions.
Graphics and 3-D Visualization20-33Graphics and 3-D VisualizationNudging Annotations with Arrow KeysIn plot edit mode, annotations such as textboxes,
R2007a20-34Property Inspector Now Categorizes Graphic Object PropertiesThe Property Inspector (accessed via the Property Editor, GUIDE, and the inspec
Graphics and 3-D Visualization20-35In addition, the type of object currently being inspected is now shown in the title bar ofthe Property Inspector w
R2015a1-2DesktopDocumentation: Integrate documentation for custom toolboxes into theMATLAB Help BrowserWhen you create custom help and add it to the M
R2007a20-36Creating Graphical User Interfaces (GUIs)GUIDE No Longer Copies Callbacks When You Duplicate ComponentsIn GUIDE, when you copy a component
Creating Graphical User Interfaces (GUIs)20-37UNIX: File Dialog 'Location' Property Is ObsoleteFor UNIX platforms, the Location property of
R2007a20-38Function Replacementhidegui Obsoleted. Now issues warnings. Set the figureHandleVisibility property instead.uigettoolbar Obsoleted. No warn
External Interfaces/API20-39External Interfaces/APINew File Extensions for MEX-FilesMEX-Files in MATLAB for Apple Macintosh (Intel)With the introduct
R2007a20-40Compatibility ConsiderationsRecompile these MEX-files with MATLAB R12 or later.Changes to Compiler SupportThe set of compilers that MATLAB
External Interfaces/API20-41Macintosh PowerPC and Macintosh (Intel) platforms• Apple Xcode 2.4.1 (gcc / g++ version 4.0.1)• g95 version 0.90Note: All
R2007a20-42Compatibility ConsiderationsRefer to the IBM XL Fortran V10.1 for Linux Language standards Web site http://publib.boulder.ibm.com/infocente
External Interfaces/API20-43• Borland C++Builder 5 version 5.5• Borland C++ Compiler version 5.5• Compaq Visual Fortran version 6.6• Compaq Visual Fo
R2007a20-44For an example of this feature, see Responding to Interface Events from an AutomationServer.Get the Status of a MATLAB Automation ServerUsi
External Interfaces/API20-45invoke(target_sheet, 'Activate');Activesheet = myApp.Activesheet;cellname = 'B2';Range = Activesheet.
Desktop1-3Previously, to access custom help that you added to MathWorks help, you clicked aSupplemental Software link at the bottom of the help home
R2006bVersion: 7.3New FeaturesBug FixesCompatibility Considerations
R2006b21-2Desktop Tools and Development EnvironmentStartup and ShutdownNew features and changes introduced in Version 7.3 (R2006b) are described here.
Desktop Tools and Development Environment21-3To achieve the former behavior, that is, to redirect both output and errors to the specifiedtarget, use
R2006b21-4Compatibility ConsiderationsM-Lint preferences were previously accessed via the Editor/Debugger Language settingsfor M.
Desktop Tools and Development Environment21-5Close All Documents and Close Selected Documents Feature AddedWhen you have multiple documents open with
R2006b21-6Compatibility ConsiderationsIn previous versions, MATLAB displayed a warning when it encountered an invalidinfo.xml file.HelpNew features an
Desktop Tools and Development Environment21-7documentation will not be included in searches. If you want search to work for thatdocumentation, contac
R2006b21-8Editing and Debugging M-FilesNew features and changes introduced in Version 7.3 (R2006b) are• “File Comparisons Tool Added” on page 21-8• “M
Desktop Tools and Development Environment21-9Use elements in the toolbar to exchange the left-right positions of the two files and tospecify the numb
vi ContentsCopying and pasting variables in the Workspace browser . . . 2-3Self-paced eLearning available from within MATLAB . . . . . . 2-3New startu
R2015a1-4Array Size Limit: Limit maximum array size to prevent unintendedcreation of very large matricesMATLAB® limits the amount of computer memory u
R2006b21-10You can also run the File Comparisons tool from the desktop by selecting Desktop >File Comparisons. Drag a file from the Current Directo
Desktop Tools and Development Environment21-11product is installed and you select the M-Lint preference to Show MATLAB Compilerdeployment messages. Y
R2006b21-12Compatibility ConsiderationsThe new File Comparisons tool replaces the File Comparison Report. The tool providesthe same functionality as t
Desktop Tools and Development Environment21-13 consider preallocating for speed.34: Use dynamic fieldnames with structures instead of GETFIELD...
R2006b21-14which displays an M-Lint report in the MATLAB Web browser for the lengthoflinefile in the current directory using the M-Lint settings in I:
Mathematics21-15MathematicsNew FunctionsFunction Descriptionamd Interface to the amd algorithm. This interface is similar to thatused in symamd, but
R2006b21-16Permutation Vectors with lu, luinc, ldlPermutation vectors for lu, luinc, and ldl provide memory savings and, for large data, anoticeable p
Mathematics21-17Sparse Arrays on 64-Bit SystemsThe internal storage of sparse arrays on 64-bit systems has changed in the R2006brelease. This change
R2006b21-18• There are new syntaxes for importing from and exporting to the library's internalsingle- and double-precision wisdom databases. Thes
Mathematics21-19• The opts.cheb and opts.stagtol fields in the options structure of eigsCompatibility ConsiderationsYou will need to remove all insta
Language and Programming1-5Language and Programmingrepelem Function: Repeat copies of array elements to create a largerarrayThe repelem function copi
R2006b21-20Data AnalysisGenerate M-File Now Supports Basic Fitting and Data StatisticsThe Generate M-File option on the File menu of MATLAB figure win
Programming21-21ProgrammingSaving to MAT-Files Larger than 2 GBWith MATLAB R2006b, you can save data items that are over 2 gigabytes in size. Thiscap
R2006b21-22save Option Description Available InVersionsIs the DefaultIn Versionssave -v7 Save to a MAT-file you can open inMATLAB version 7V7.3 andlat
Programming21-23• parfor – designates a for loop in the Distributing Computing Toolbox• classdef – signals the beginning of a MATLAB class definition
R2006b21-24Compatibility ConsiderationsIf any of your programs depend on the displayed output of whos, specifically in relationto the changes listed a
Programming21-25save -v7 filenameYou can still save to a MAT-file without using compression or Unicode encoding. In fact,you will have to do this in
R2006b21-26endCompatibility ConsiderationsYour M-file programs may generate this warning if correct syntax for try and catch isnot used.Case-Sensitivi
Programming21-27Compatibility ConsiderationsIf any of your programs use lower-level MATLAB file I/O functions that send output tostdin, because these
R2006b21-28function [A B C] = myfun(x, y)Compatibility ConsiderationsThis new syntax is not valid in MATLAB versions earlier than Release 14. When wri
Graphics and 3-D Visualization21-29Graphics and 3-D VisualizationPlotting Tools Are Now Modular Desktop ComponentsThe three MATLAB plotting tools (Fi
R2015a1-6fullfile Function: Maintain all double-dot symbolsThe fullfile function now maintains all double-dot symbols in the input file parts.This beh
R2006b21-30rendering, and other printing characteristics in this new dialog. The Page Setup andPrint Setup dialogs still exist, and the Print dialog t
Graphics and 3-D Visualization21-31Customizing Zoom, Pan, and Rotate3D Data Explore ModesYou can now customize the behavior of data explore modes by
R2006b21-32• GUI Alternatives sections above syntax descriptions describe how to invoke a function(or similar capability) from a GUI, and provide link
Creating Graphical User Interfaces (GUIs)21-33Creating Graphical User Interfaces (GUIs)Functions Are Now ObsoleteThe following functions are obsolete
R2006b21-34Documentation EnhancementThe Creating GUIs Programmatically section of the documentation now containsinformation commensurate with informat
External Interfaces/API21-35External Interfaces/APINew Types for Declaring Size and Index ValuesVersion 7.3 (R2006b) defines two new types for API ar
R2006b21-36Sparse API Functions Affected By This ChangeYou will need to recompile any MEX-files that use the following sparse functions on a 64-bit sy
External Interfaces/API21-37New MAT-File Format Based on HDF5In Version 7.3 (R2006b), you can save MAT-files in a format based on HDF5. Unlikeearlier
R2006b21-38Changes to Compiler SupportCompaq Visual Fortran version 6.1 is supported in Version 7.3 (R2006b) but will not besupported in a future vers
External Interfaces/API21-39feature('COM_ActxProgidCheck',1)By default, ProgID checking is on.
Language and Programming1-7• “Index into Python String”• “Index into Python list”• “Index into Python tuple”• “Index into Python dict”Python Version
R2006aVersion: 7.2New FeaturesCompatibility Considerations
R2006a22-2Desktop Tools and Development EnvironmentStartup and ShutdownNew features and changes introduced in Version 7.2 (R2006a) are described here.
Desktop Tools and Development Environment22-3JVM Software Updated for 64-Bit Linux PlatformsThe Sun Microsystems JVM software version that MATLAB use
R2006a22-4Keyboard and Indenting Command Window Preferences ReorganizedThe Command Window Keyboard and Indenting preferences pane was removed. The tab
Desktop Tools and Development Environment22-5Editing and Debugging M-FilesNew features and changes introduced in Version 7.2 (R2006a) are• “Tab Compl
R2006a22-6Compatibility ConsiderationsIf you press the Tab key to add spacing within your statements, you might insteadget a completion for a function
Desktop Tools and Development Environment22-7M-Lint Automatic Code Analyzer Checks for Problems and Suggests ImprovementsThe M-Lint code analyzer, no
R2006a22-8Debugging Changes• The dbstop function now allows you to stop at, (not in), a non M-file, allowing youto view code and variables near it in
Desktop Tools and Development Environment22-9
R2015a1-8the WSDL import element. For more information, see “Limitations to WSDL DocumentSupport”.Unit Testing Framework: Tag tests for categorization
R2006a22-10If you do not want cell mode enabled, select Cell > Disable Cell Mode.MATLAB remembers the cell mode between sessions. If cell mode is d
Desktop Tools and Development Environment22-11M-Lint and mlint Enhancements and ChangesThe M-Lint code analyzer is now built into the Editor/Debugger
R2006a22-12Accuracy ImprovedThe Profiler provides more accurate accounting. The total time you see with the ProfilerGUI now matches total wall clock t
Desktop Tools and Development Environment22-13publish Function has New catchError OptionThe publish function has a new catchError option that allows
R2006a22-14MathematicsNew Library CHOLMOD for Sparse Cholesky FactorizationFor sparse matrices, MATLAB now uses CHOLMOD version 1.0 to compute the Cho
Mathematics22-15Improved Algorithm for expmThe expm function now uses an improved algorithm to compute a matrix exponential.This algorithm often requ
R2006a22-16Data AnalysisData Analysis Collection Revised and ExpandedIn this release, the MATLAB Data Analysis collection has been thoroughly revised
Programming22-17ProgrammingLarger Data Sets with 64-Bit Windows XPMATLAB support for Windows XP 64-bit edition enables you to handle much larger data
R2006a22-18For example, to use the Intel YUV codec, use the four-CC code:aviobj = avifile('myvideo.avi', 'compression', 'IYUV
Programming22-19issorted Support for Cell ArraysYou can now use the issorted function on a cell array of strings.XLS Functions Support More Formatsxl
Language and Programming1-9Unit Testing Framework: Compare objects using isequalnWhen the class of the expected value defines an isequaln method, the
R2006a22-20Changes to Character Encoding in File I/OThe fopen function has a new optional argument, a string that specifies a name or aliasfor the cha
Programming22-21% operate on dataoutData = unicode2native(dataU);fid = fopen(file, 'w');fwrite(fid, outData, 'char');fclose(fid);
R2006a22-22You can, but do not have to, remove the calls to native2unicode in V7.2 (R2006a):indata = fread(fid, '*char')';indata = frea
Graphics and 3-D Visualization22-23Graphics and 3-D VisualizationPasting Cut or Copied Graphic Objects Can Create an AxesThe way in which MATLAB hand
R2006a22-24Note that in addition to having a smaller font and wider line spacing, the new inspectorlocates pop-up menus at the right margin instead of
Creating Graphical User Interfaces (GUIs)22-25Creating Graphical User Interfaces (GUIs)Treatment of & in Menu Label Is ChangedThe use of '&a
R2006a22-26Two other GUIs work together as an icon editor. One GUI, a color palette, isembedded in the other GUI, an icon editor. The color palette pa
External Interfaces/API22-27External Interfaces/APIMEX-Files Built with gcc on Linux Must Be RebuiltIn MATLAB V7.2 (R2006a) on Linux and Linux x86-64
R2006a22-28• Microsoft Visual C++ 2005, also informally called Visual C++ 8.0, part of MicrosoftVisual Studio 2005• Intel Visual Fortran 9.0Environmen
External Interfaces/API22-29In V7.2 (R2006a), this file has been renamed cvf66engmatopts.bat to match theCompaq Visual Fortran product name.Compatibi
R2015a1-10or an array of meta.class instances, consider performing the qualification using twoseparate Throws constraints.Git Source Control Integrati
R2006a22-30Obsolete Functions: MAT-File AccessObsolete Function ReplacementmatDeleteArray (C andFortran)matDeleteVariablematDeleteMatrix (C andFortran
External Interfaces/API22-31Obsolete Functions: MX Array ManipulationObsolete Function ReplacementmxClearLogical (C andFortran)NonemxCreateFull (C an
R2006a22-32Obsolete Function ReplacementmexGetGlobal (C andFortran)mexGetVariablePtrmexGetInf (C andFortran)mxGetInfmexGetMatrix (C andFortran)mexGetV
External Interfaces/API22-33Obsolete Function ReplacementengPutFull (C and Fortran) mxCreateDoubleMatrix followed by mxSetPr,mxSetPi, engPutVariablee
R2006a22-34Dynamic Linking of External LibrariesMATLAB supports dynamic linking of external libraries only on 32-bit Windows systemsand 32-bit Linux s
R14SP3Version: 7.1New FeaturesCompatibility Considerations
R14SP323-2Desktop Tools and Development EnvironmentStartup and ShutdownNew features and changes introduced in this version are described here.Startup
Desktop Tools and Development Environment23-3Resize Multiple Tools at OnceYou can now position the pointer at the intersection of three or four tools
R14SP323-4your existing preference directory, R14, to the new directory, R14SP3. Changes madeto files in the directory when you run R14SP3 are not use
Desktop Tools and Development Environment23-5preferences Function Now Supports -nodesktop OptionRun preferences -nodesktop after starting MATLAB on W
Language and Programming1-11Functionality Result Use This Instead Compatibility Considerationsmatlab.unittest.TestCaseconstructorWarns matlab.unittes
R14SP323-6• “Hyperlink Color Preference Moved” on page 23-6Tab Completion Preference AddedThere is a new Command Window preference, Tab key narrows co
Desktop Tools and Development Environment23-7• “echodemo Function Added to Replace playshow function” on page 23-8• “Add Demos to Favorites” on page
R14SP323-8previous releases ran the demos as a function. This means that now the demo's variablesare created in the base workspace. If you have v
Desktop Tools and Development Environment23-9Find Files Offers Additional FilteringThe Find Files tool has been enhanced. It now allows you to search
R14SP323-10Highlight Current Line AddedYou can set a preference to highlight the current line, that is, the line with the caret(also called the blinki
Desktop Tools and Development Environment23-11Comment Lines in Java, C, or C++ Program Files Now SupportedYou can now use the Text > Comment featu
R14SP323-12Incremental Search Now Supports Removing CharactersIn incremental search, use Ctrl+G to remove characters back to the previous successfulst
Desktop Tools and Development Environment23-13to ignore the line). That is, mlint will run for all lines in the file and will not ignore anystatement
R14SP323-14your files. If you specify the optional arguments, the notebook function runs and issuesa warning, but ignores the values. In a future rele
Mathematics23-15MathematicsNew FunctionsThe following functions are new in R14SP3:Function Descriptionhypot Square root of sum of squaresmode Finds m
R2015a1-12Mathematicsdiscretize Function: Group numeric data into bins or categoriesThe discretize function groups numeric data into bins. By default
R14SP323-16Function Modified Behaviorodeset New NonNegative integration property to impose nonnegativityconstraints on an ODE solutionrand Supports th
Mathematics23-17For a full description of the Mersenne twister algorithm, see http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html.svd Returns Ec
R14SP323-18Data AnalysisData Analysis DocumentationThe MATLAB 7.1 documentation includes a new Data Analysis book that describes howto use MATLAB func
Data Analysis23-19To manually enable Time Series Tools on the Linux 64 platform, type the following at theMATLAB prompt:rehash toolboxcachefeature(&a
R14SP323-20ProgrammingNew FunctionsThis version introduces the following new functions:Function Descriptionarrayfun Applies a given function to each e
Programming23-21Function Modified Behaviorwho, whos Displays information separately for nested functionsCompatibility ConsiderationsThe following fun
R14SP323-22You can use this stack information to track down the source of an error, or as an input tothe rethrow function. When used with rethrow, MAT
Programming23-23 1 1Support for Reading EXIF Data from Image FilesYou can now read EXIF (Exchangeable Image File Format) data from JPEG and T
R14SP323-24withc = fread(fid, 50, '*uint8')'You can also use this notation with an input stream that is specified as a number ofbits (e
Programming23-25There are changes in how MATLAB displays built-in functions using which:In MATLAB 7.0.4 (R14SP2),which -all int32\\matlab\toolbox\sym
Mathematics1-13Functionality being removed or changedFunctionality Result Use This Instead CompatibilityConsiderationsbitmax Errors flintmax Replace
R14SP323-26Graphics and 3-D VisualizationPlot Tools Now Available on Mac PlatformAs a consequence of enabling Java figures on Macintosh, the Plot Tool
Creating Graphical User Interfaces (GUIs)23-27Creating Graphical User Interfaces (GUIs)Plans for Obsolete FunctionsThe table below indicates function
R14SP323-28External Interfaces/APImex Switches Now Supported on Microsoft WindowsMATLAB now supports the -l and -L options to the mex command on Windo
External Interfaces/API23-29MathWorks recommends that you recompile all MEX-files after installing MATLAB7.1. MEX-files compiled in MATLAB 7.0.4 with
R14SP323-30Conflicting MEX-Files Renamed AutomaticallyIf two files with the same name but with .mexw32 and .dll extensions exist in the samedirectory,
External Interfaces/API23-31New Preferences Directory and MEX OptionsThe MATLAB preferences directory has changed. In MATLAB 7.1, the preferencesdire
R14SP323-32Compatibility ConsiderationsYou may need to recompile code compiled with an earlier compiler that is no longersupported.Import Libraries Mo
External Interfaces/API23-33Previous releases of MATLAB created the figure in the background. To duplicate the oldbehavior, create a figure with its
R14SP2Version: 7.0.4New FeaturesCompatibility Considerations
viiOption for interpolating to 'next' and 'previous' neighborswith the interp1 function and griddedInterpolant class . . 2-12Optio
R2015a1-14Data Import and ExportDatastore: Read one complete file with 'file' option for ReadSizepropertyThe ReadSize property for TabularTe
R14SP224-2Desktop Tools and Development EnvironmentInstallation Folder with SpacesIn MATLAB 7.0.4 (R14SP2) software, the following two changes have be
Desktop Tools and Development Environment24-3DesktopConfirmation Dialog Boxes Preference IntroducedThere are new preferences for displaying or not di
R14SP224-4Bug Fixes and Known Problems Now on Web; No Longer Found Via Help SearchThe Release Notes sections “Major Bug Fixes” and “Known Software and
Desktop Tools and Development Environment24-5• View the file size by selecting the Show file sizes check box. (This is selected bydefault.)• For mode
R14SP224-6Source Control InterfaceRegister Project Feature Added; Add to Source Control Behavior ChangedThere is a new source control interface featur
Desktop Tools and Development Environment24-7Cell Publishing: LaTeX Image File Type ChangesPublishing to LaTeX now respects the image file type you s
R14SP224-8MathematicsNew Vendor BLAS Used for Linear Algebra in MATLABMATLAB uses Basic Linear Algebra Subprograms (BLAS) for its vector inner product
Programming24-9ProgrammingMemory-MappingMemory-mapping is a mechanism that maps a portion of a file, or an entire file, on diskto a range of addresse
R14SP224-10xlsread Imported Date Format ChangesIn MATLAB versions prior to R14, date values read into MATLAB from an Excelspreadsheet using xlsread we
Programming24-11Compatibility ConsiderationsTo avoid this warning and prepare for this change, convert the cell array of strings to acell array of fu
Data Import and Export1-15textscan and readtable Functions: Return consistent results whenreading quoted stringsAs of R2014b, using the %q format spe
R14SP224-12x = 10;x.name = magic(3);Warning: Struct field assignment overwrites a value with class "double".In a future release of MATLAB, a
Programming24-13handle.output = struct('time', 13);Function Declaration Compatibililty with Pre-R14 M-FilesAs of Release 14, the function d
R14SP224-14Graphics and 3-D Visualizationimwrite Now Supports GIF ExportThe imwrite function now supports exporting image data in Graphics Interchange
Graphics and 3-D Visualization24-15Compatibility ConsiderationsThe figure XDisplay property is supported only on systems using Motif.
R14SP224-16Creating Graphical User Interfaces (GUIs)New Callbacks ChapterThe Creating Graphical User Interfaces documentation offers a new chapter, in
External Interfaces/API24-17External Interfaces/APINew File Archiving Functions and FunctionalityIn addition to being able to zip and unzip compresse
R2015a1-16Compatibility ConsiderationsCode that relies on using the %q format specifier to read text enclosed in double quotationmarks might return di
Data Import and Export1-17Functionality Result Use This Instead CompatibilityConsiderationsH5P.get_dxpl_multi Errors none Remove all instances ofH5P.
R2015a1-18Graphicsdrawnow Function: Improve performance in animation loops with newoptiondrawnow now supports the limitrate option for limiting the nu
Performance1-19PerformanceMapReduce: Run mapreduce algorithms on any computer cluster thatsupports parallel pools using MATLAB Distributed Computing
R2015a1-20Hardware SupportIP camera: Acquire video directly from Internet Protocol camerasYou can use the MATLAB IP Camera support to bring live image
Hardware Support1-21• Take photographs using a web camera• Issue Linux shell commands• Transfer files to or from your host computer• Control the onbo
R2015a1-22Functionality being removed or changedFunctionality Result Use This Instead Compatibility Considerationstargetinstaller Warns supportPackage
R2014bVersion: 8.4New FeaturesBug FixesCompatibility Considerations
viii ContentsNew look of MATLAB graphics with improved clarity andaesthetics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
R2014b2-2DesktopGit and Subversion source control system integration through CurrentFolder browser, including syncing from Web-hosted repositories suc
Desktop2-3Copying and pasting variables in the Workspace browserYou now can copy and paste the contents of workspace variables in the Workspacebrowse
R2014b2-4Automatic file saving when you click away from the EditorIf you are editing a file in the MATLAB Editor that you have saved at least once, ne
Language and Programming2-5Language and Programmingdatetime, duration, and calendarDuration arrays for efficientcomputation, comparison, and formatte
R2014b2-6• Common assignment operators such as ++, +=, and -=, and mathematical operatoridioms such as 2(x+1)• Python argument syntax and dictionary s
Language and Programming2-7RPC-encoded WSDL documents are not supported. For these documents, usecreateClassFromWsdl.The following WSDL documents are
R2014b2-8MATLAB errors attempting to define listener for nonobservable propertyIn previous releases, you could define a listener for a nonobservable p
Language and Programming2-9LoggingPlugin or TestRunProgressPlugin, or a test runner constructed with theTestRunner.withTextOutput method.Constraint f
R2014b2-10 InfCompatibility ConsiderationsChange any instances of test qualifications in which you compare an infinite expectedvalue to a finite
Language and Programming2-11Functionality Result Use This Instead CompatibilityConsiderationsmatlab.unittest.TestCase constructorStill runs matlab.un
ixPop-up Command History for recalling, viewing, filtering,and searching recently used commands in the CommandWindow . . . . . . . . . . . . . . . . .
R2014b2-12Mathematicshistcounts function for binning numeric dataThe histcounts function sorts data into bins with data-dependent bin picking and opti
Mathematics2-13round(pi,2,'significant')ans = 3.1000boundary function and alphaShape class for creating a conformingboundary around a di
R2014b2-14 16 11 10 13 16 14 15 13Reverse accumulation option for the cumsum, cummin, cummax, andcumprod functionsThe 're
Data Import and Export2-15Data Import and ExportFaster data import from text files using Import Tool, and readtable andtextscan functionsThe performa
R2014b2-16object. When you use the get function to query a VideoReader object, the outputstructure array now has a CurrentTime field and no longer has
Data Import and Export2-17hdftool functionality will not be removedThe R2013a Release Notes originally stated that hdftool would be removed in a futu
R2014b2-18Functionality What HappensWhen You Use ThisFunctionality?Use This Instead Compatibility Considerationshdfgd Still runs http://www.mathworks.
Hardware Support2-19Hardware SupportDocumentation installation with hardware support packageStarting in R2014b, each hardware support package install
R2014b2-20including creating plots. You can collect data from the following sensors connected toyour Arduino hardware:• I2C• SPI• Servo MotorsThe supp
Graphics2-21GraphicsMajor update of MATLAB graphics systemNew MATLAB Graphics SystemStarting in R2014b, the MATLAB graphics system is built on an imp
Kommentare zu diesen Handbüchern