MATLAB COMPILER RELEASE NOTES Guida Utente

Navigare online o scaricare Guida Utente per Manuali per software MATLAB COMPILER RELEASE NOTES. MATLAB COMPILER RELEASE NOTES User`s guide [en] Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 716
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 0
MATLAB
®
Release Notes
Vedere la pagina 0
1 2 3 4 5 6 ... 715 716

Sommario

Pagina 1 - Release Notes

MATLAB® Release Notes

Pagina 2 - How to Contact MathWorks

x ContentsChanges to External Programming Language Interfacesdocumentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9Func

Pagina 3 - Contents

R2014b2-22• Graphics objects use object handles of various types instead of the numeric handlesused in previous releases.• Graphics objects support do

Pagina 4

Graphics2-23Display of multilingual text and symbolsAxis tick labels support TeX and LaTeX markup for special characters, such assuperscripts, subscr

Pagina 5

R2014b2-24Compatibility considerations for graphics changesThe graphics changes introduced in R2014b support most of the functionality fromprevious re

Pagina 6

Graphics2-25Functionality Result Use Instead Compatibility Considerationshist function Still runs histogramfunctionUse histogram instead ofhist.color

Pagina 7

R2014b2-26Functionality Result Use Instead Compatibility ConsiderationsPassing complex inputs tocharting functions that donot support complex dataWarn

Pagina 8

Graphics2-27Functionality Result Use Instead Compatibility Considerations'phong' value for theEdgeLighting andFaceLighting propertiesfor su

Pagina 9

R2014b2-28Functionality Result Use Instead Compatibility ConsiderationsFixedColors,MinColorMap, WVisual,WVisualMode, XVisual,and XVisualMode figurepro

Pagina 10

Graphics2-29Functionality Result Use Instead Compatibility ConsiderationsSpecifying a single outputargument for the voronoifunctionReturns avector of

Pagina 11

R2014b2-30Functionality Result Use Instead Compatibility Considerationsa file, use hgsave with the.fig extension.printdmfile function andprint -dmfile

Pagina 12

GUI Building2-31GUI Buildinguitab and uitabgroup components for creating user interfaces withtabbed panelsThe uitab function creates a tabbed panel i

Pagina 13

xiR2013b Language and Programming . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2table data container for managing, sorting, and filteringmixe

Pagina 14

R2014b2-32(or out of) the uipanel boundaries. Now, these items clip at the uipanel boundary.Annotations and child objects of uibuttongroups behave the

Pagina 15

GUI Building2-33Functionality Result Use Instead Compatibility ConsiderationsSee “Properties and syntaxesbeing removed or changed”on page 2-24 for mo

Pagina 16

R2014b2-34Performance and Big DataBig data analysis on your desktop that can scale to Hadoop withmapreduceThe mapreduce function enables analysis of d

Pagina 17

R2014aVersion: 8.3New FeaturesBug FixesCompatibility Considerations

Pagina 18

R2014a3-2DesktopPop-up Command History for recalling, viewing, filtering, and searchingrecently used commands in the Command WindowPop-up Command Hist

Pagina 19

Desktop3-3Merge option in MATLAB Comparison Tool for resolving differencesbetween text filesWhen comparing text files in the MATLAB Comparison Tool y

Pagina 20

R2014a3-4Language and ProgrammingSuggested corrections for mistyped, user-defined functions in theCommand WindowMATLAB suggests corrections for functi

Pagina 21

Language and Programming3-5Compatibility Considerations• Do not use the -f option to build engine and MAT-file applications. Use the -clientengine op

Pagina 22 - R2010bSP1

R2014a3-6V = validatestring('',{'Cantor','','Koch'})V = ''In versions of MATLAB prior to R2014a,

Pagina 23

Language and Programming3-7 'Item_' 'Item__1' 'Price_Unit' 'x1stOrder' 'Contact'deta

Pagina 24

xii ContentsJava integration updated to version 7, providing access to newJava features and bug fixes . . . . . . . . . . . . . . . . . . . . . . . 4-

Pagina 25

R2014a3-8\\folder4\. In R2012b and earlier, the same commands returned:f =C:\foo\folder1\..\folder2g =C:\foo\folder1\\\folder3\\h =\\folder4\.Compatib

Pagina 26

Language and Programming3-9matlab.unittest plugin for Test Anything Protocol (TAP) outputThe matlab.unittest testing framework provides a plugin that

Pagina 27 - R2009bSP1

R2014a3-10• Calling External Functions—How to use functionality from other languages, such asJava, .NET, and C, in MATLAB.• MATLAB API for Other Langu

Pagina 28

Language and Programming3-11Functionality What HappensWhen You Use ThisFunctionality?Use This Instead CompatibilityConsiderationstscollection, openva

Pagina 29

R2014a3-12Functionality What HappensWhen You Use ThisFunctionality?Use This Instead CompatibilityConsiderationsdepdir Warns matlab.codetools.requiredF

Pagina 30

Language and Programming3-13Functionality What HappensWhen You Use ThisFunctionality?Use This Instead CompatibilityConsiderationsmexIsGlobal in theC/

Pagina 31

R2014a3-14Mathematicsisdiag, isbanded, issymmetric, ishermitian, istril,istriu, and bandwidth functions for testing matrix structureThe following func

Pagina 32

Mathematics3-15 0 4.8990 0 0 0 -4.8990W = -0.5774 -0.7416 -0.0749 -0.5774 0.6667 -0.6667 -0.5774

Pagina 33

R2014a3-16Compatibility ConsiderationsIn previous releases, the output class of these functions was dependent on the inputclass. To obtain nondouble o

Pagina 34

Data Import and Export3-17Data Import and ExportWebcam support for previewing and acquiring live images and videoWebcam Support (2 min, 54 sec)You ca

Pagina 35

xiiiR2013a Desktop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2Option to add separators between control

Pagina 36

R2014a3-18Raspberry Pi hardware support for controlling devices such as motorsand actuators, and for capturing live data from sensors and camerasdirec

Pagina 37

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

Pagina 38

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

Pagina 39

Performance3-21Performanceconv2 function performance improvements with three inputsThe performance of the conv2 function improves when using the conv

Pagina 41

R2013bVersion: 8.2New FeaturesBug FixesCompatibility Considerations

Pagina 42

R2013b4-2Language and Programmingtable data container for managing, sorting, and filtering mixed-typetabular dataTables and Categorical Arrays (6 min,

Pagina 43

Language and Programming4-3 medium large small small medium categories(myCategorical)ans = 'small' 'med

Pagina 44

R2013b4-4flip function, a faster and more memory efficient alternative toflipdim for flipping arrays and vectorsThe flip function provides a faster an

Pagina 45

Language and Programming4-5Conversion changes of out-of-range numbers passed to Java methodsthat take integersMATLAB R2013b changes the way it conver

Pagina 46

xiv ContentsDo not use classpath.txt file to modify Java static path . 5-11Functionality being removed or changed . . . . . . . . . . . . . . . 5-11Ma

Pagina 47

R2013b4-6Changes to compiler support for building MEX-filesMATLAB no longer supports the following compilers on Microsoft Windows platforms:•Intel® C+

Pagina 48

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

Pagina 49

R2013b4-8MATLAB:InputParser:ParamMustBeChar. If your code checks forMATLAB:InputParser:MustBeChar, you might need to update it to check forMATLAB:Inpu

Pagina 50

Language and Programming4-9Functionality What HappensWhen You Use ThisFunctionality?Use This Instead CompatibilityConsiderationsand time alignedwith

Pagina 51

R2013b4-10DesktopImproved viewing and editing of one-dimensional structure arrays in theVariables editorOne-dimensional (n-by-1 or 1-by-n) structure a

Pagina 52

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.

Pagina 53

R2013b4-12Enhanced print options on Mac operating systemsOn Macintosh systems, the Print dialog box now provides more print options. You canaccess all

Pagina 54

Desktop4-13click Print and then select Page Setup. Alternatively, from the Command Windowor Editor, use the keyboard shortcut, Command+Shift+P. The

Pagina 55

R2013b4-14Preferences dialog box improvements for easier navigationOptions in the left pane of the Preferences dialog box are arranged by product, and

Pagina 56

Mathematics4-15MathematicsFunctionality being removed or changedFunctionality What Happens WhenYou Use This FunctionalityUse This Instead Compatibili

Pagina 57 - Version: 8.5

xvPerformance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-30fft function performance improvements on computers wit

Pagina 58 - MATLAB Help Browser

R2013b4-16Functionality What Happens WhenYou Use This FunctionalityUse This Instead CompatibilityConsiderationsPassing mixed-orientation vectors toint

Pagina 59

Mathematics4-17Functionality What Happens WhenYou Use This FunctionalityUse This Instead CompatibilityConsiderationsPassing mixed-orientation vectors

Pagina 60

R2013b4-18Functionality What Happens WhenYou Use This FunctionalityUse This Instead CompatibilityConsiderationsPassing the 'pp'flag to inter

Pagina 61

Mathematics4-19Functionality What Happens WhenYou Use This FunctionalityUse This Instead CompatibilityConsiderationsrepmat(A,empt,n),where empt is an

Pagina 62

R2013b4-20GraphicsMac support for copying figures in vector formats to other applicationsMATLAB for Mac now supports copying figures to other applicat

Pagina 63

Graphics4-21Functionality What HappensWhen You UseThis Functionality?Use This Instead Compatibility Considerationsprintdlg('-setup',fig) Wa

Pagina 64

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

Pagina 65 - Throws constraint

Performance4-23Performancerepmat with numeric, char, and logical typesThe performance of the repmat function improves when the input array containsnu

Pagina 66

R2013b4-24Data Import and Exportfprintf function prints Unicode characters to the screenThe fprintf function now displays Unicode® characters on the s

Pagina 67

Data Import and Export4-25Functionality What HappensWhen You Use ThisFunctionality?Use This Instead Compatibility Considerationslevel functions in th

Pagina 68

xvi ContentsDiagnostic message improvements when attempting to createan instance of an abstract class . . . . . . . . . . . . . . . . . . . . 6-9Handl

Pagina 70

R2013aVersion: 8.1New FeaturesBug FixesCompatibility Considerations

Pagina 71

R2013a5-2DesktopOption to add separators between controls on the quick access toolbarYou can now insert and move separators bars on the quick access t

Pagina 72

Desktop5-3Left-aligned table of contents for navigating in the Help browser andonline Documentation CenterThe documentation now includes a table of c

Pagina 73

R2013a5-4Removal of Handle Graphics support under -nojvm startup optionWhen you start MATLAB with the -nojvm startup option, Handle Graphics®functiona

Pagina 74

Desktop5-5No default keyboard shortcut for overwrite modeThere is no longer a default keyboard shortcut for Overwrite mode, and OVR no longerappears

Pagina 75

R2013a5-6Language and Programmingmatlab.unittest package, an xUnit-style testing framework forthe MATLAB language that allows writing and running unit

Pagina 76 - Hardware Support

Language and Programming5-7For more information, see Display Custom Documentation.Changes to Microsoft .NET Framework supportAs of R2013a, the MATLAB

Pagina 77 - Hardware Support

R2013a5-8Changes to subclasses of built-in classesSubclasses of built-in classes no longer inherit the following methods:• ones• zeros• true• false• c

Pagina 78

Language and Programming5-9For example, the MATLAB:addtodate:Nargin identifier has changed toMATLAB:addtodatemx:Nargin. If your code checks for MATLA

Pagina 79 - Version: 8.4

xviiFunctionality being removed or changed . . . . . . . . . . . . . . . 6-19R2012a Desktop Tools and Development Environment . . . . . . . . . . . 7-

Pagina 80

R2013a5-10mydates = {'11-Oct-2012','11-10-2012'};datevec(mydates,'dd-mmm-yyyy')ans = 2012 10 11

Pagina 81

Language and Programming5-11Compatibility ConsiderationsTo obtain a string representation of large integers that uses decimal notation, callint2str(x

Pagina 82

R2013a5-12MathematicsscatteredInterpolant and griddedInterpolant support forextrapolation• scatteredInterpolant is a new class for interpolating scatt

Pagina 83

Mathematics5-13ans =uint8Integer type support for prod, cumsum, cumprod, median, mode, andnumber theory functionsThe following functions now support

Pagina 84

R2013a5-14at query points outside the convex hull using the 'linear' or 'natural' methods.To preserve the TriScatteredInterp behav

Pagina 85

Mathematics5-15TriRep Method Replacement triangulation Method Name ChangecartToBary cartesianToBarycentric✓circumcenters circumcenter✓edgeAttachments

Pagina 86

R2013a5-16DelaunayTri Property ReplacementdelaunayTriangulation PropertyName ChangeTriangulation ConnectivityList✓Replacements for DelaunayTri Methods

Pagina 87

Mathematics5-17• Cell arrays of strings can combine with char arrays.• ismember treats trailing white space in cell arrays of strings as distinct cha

Pagina 88

R2013a5-18Functionality being removed or changedFunctionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility Considerationsqu

Pagina 89

Mathematics5-19Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility Considerations'RelTol' name-value pair

Pagina 90

xviii ContentsConversion of Error and Warning Message Identifiers . . . . . 7-24Specify a List of Allowed Subclasses in the Class Definition . 7-24Spe

Pagina 91

R2013a5-20Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility Considerationsbitmax Still runs flintmax Replace all i

Pagina 92 - 16 14 15 13

Mathematics5-21Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility ConsiderationsTriScatteredInterp Still runs scat

Pagina 93

R2013a5-22Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility ConsiderationsNoninteger valuedsize inputs for zeros,o

Pagina 94

Mathematics5-23Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility ConsiderationsgetDefaultStreammethod of RandStre

Pagina 95

R2013a5-24Graphicsgobjects function for preallocating graphics handle arrayThe gobjects function creates an array of graphics handles. Use this functi

Pagina 96 - Still runs http://

Data Import and Export5-25Data Import and ExportReading and writing indexed and grayscale AVI files with VideoReaderand VideoWriter objectsThe VideoR

Pagina 97

R2013a5-26Importing non-ASCII encoded files with textscan functionThe textscan function now reads text files with non-ASCII encodings. For a complete

Pagina 98

Data Import and Export5-27num = 1 1 1 2 2 2 3 3 3 4 4 4 5 5 5txt = 'A' &

Pagina 99

R2013a5-28Attribute ValueAuthentication HTTP authentication mechanism.Currently, only basic authentication issupported.Username User identifier.Passwo

Pagina 100

Data Import and Export5-29Functionality What HappensWhen You Use ThisFunctionality?Use This Instead Compatibility Considerationsauread Still runs aud

Pagina 101 - Graphics

xixNew Functionality for Grid-Based Interpolation . . . . . . . . . . 8-6Performance Enhancements . . . . . . . . . . . . . . . . . . . . . . . . . 8-

Pagina 102

R2013a5-30Performancefft function performance improvements on computers with new Inteland AMD processorsThe fft function performance improves on compu

Pagina 103

R2012bVersion: 8.0New FeaturesBug FixesCompatibility Considerations

Pagina 104

R2012b6-2DesktopToolstrip that replaces menus and toolbars in MATLAB DesktopNew MATLAB Desktop (5 min, 3 sec)• The Toolstrip contains components that

Pagina 105

Desktop6-3Apps gallery that presents apps from the MATLAB product familyThe MATLAB desktop contains a gallery of apps from the MATLAB family of produ

Pagina 106

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

Pagina 107

Desktop6-5• Custom documentation and documentation for downloadable or third-party productsdisplays in a separate browser. To access this browser, op

Pagina 108

R2012b6-6Compatibility Considerations• The Help system now requires that custom documentation files reside outside thematlabroot folder (but on the MA

Pagina 109 - GUI Building

Desktop6-7Changes to -nojvm startup option on MacWhen you start MATLAB on a Mac with the -nojvm startup option, Handle Graphicsfunctionality is no lo

Pagina 110

R2012b6-8Run configuration entries appear similar to this example:%% @name foo% @associatedFile C:\Documents\MATLAB\work\foo.m% @mostRecentlyActione

Pagina 111 - GUI Building

Language and Programming6-9Language and ProgrammingAbstract attribute for declaring MATLAB classes as abstractDeclare MATLAB classes as abstract by s

Pagina 112 - Performance and Big Data

How to Contact MathWorksLatest news:www.mathworks.comSales and services:www.mathworks.com/sales_and_servicesUser community:www.mathworks.com/matlabcen

Pagina 113 - Compatibility Considerations

xx ContentsNew Support for Features in Microsoft .NET Framework . . 8-18Support for Cell Arrays . . . . . . . . . . . . . . . . . . . . . . . . 8-18Su

Pagina 114

R2012b6-10The new behavior is consistent with that of other conditional statements, such as ifstatements.Compatibility ConsiderationsCode that uses en

Pagina 115 - Desktop

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

Pagina 116 - Language and Programming

R2012b6-12Function Recommended Modificationstrread Replace all existing instances of strread withtextscan. For example, replace[a,b,c] = strread(...)

Pagina 117 - Language and Programming

Mathematics6-13MathematicsPerformance improvements and multithreading for airy, psi, andBessel functionsThe following functions show improved perform

Pagina 118 - MATLAB identifiers

R2012b6-14Complex number support for trigonometry degree functionsThe sind, cosd, tand, asind, acosd, atand, cscd, cotd, secd, acscd, asecd, and acotd

Pagina 119

Mathematics6-15Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility Considerationsbesseli, besselj,besselk, andbesse

Pagina 120

R2012b6-16Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility ConsiderationsY = psi(k0:k1,X) Errors Y = psi(k,X) whe

Pagina 121

Data Import and Export6-17Data Import and ExportData import from delimited and fixed-width text files using Import ToolThe Import Tool now allows you

Pagina 122

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

Pagina 123 - {},namelengthmax);

Data Import and Export6-19Attribute ValueCharset Character encoding, determined from theheaders of the fileFor example, to download Web content from

Pagina 124

xxiNew Function rng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-9New Function ichol . . . . . . . . . . . . . . . . . . . . .

Pagina 126 - Mathematics

R2012aVersion: 7.14New FeaturesBug FixesCompatibility Considerations

Pagina 127 - Integer type support for mean

R2012a7-2Desktop Tools and Development EnvironmentTranspose and Sort Variables in the Variable EditorTo transpose or sort variables, use the right-cli

Pagina 128

Desktop Tools and Development Environment7-3Window associatedwithMATLAB.Start anotherMATLAB runningon your computer.Document open inthe MATLAB Editor

Pagina 129 - Data Import and Export

R2012a7-4Technical Support Requests Use Proxy SettingsYou can submit Technical Support requests from MATLAB by selecting Help > Submita MathWorks S

Pagina 130

Desktop Tools and Development Environment7-5window containing these characters, you can type the characters, but if you display thecontents of the va

Pagina 131 - Data Import and Export

R2012a7-6Technical Q&A QA1067 “Setting environment variables for user processes” at http://developer.apple.com/library/mac/#qa/qa1067/_index.html.

Pagina 132

Desktop Tools and Development Environment7-7fclose(fpOut);endTo use this function, you need to know the current encoding, from_encoding.• For MATLAB

Pagina 133 - Performance

R2012a7-8MathematicsNew Integral FunctionsThe new functions, integral, integral2, and integral3 perform numerical integration withadditional support f

Pagina 134

Mathematics7-9Specify 'sorted' if you want the elements in the output array to be in sorted order. Forexample:C = unique([9 2 2],'sort

Pagina 135 - Version: 8.2

xxii ContentsChanges to Compiler Support . . . . . . . . . . . . . . . . . . . . . . . 9-23New Compiler Support . . . . . . . . . . . . . . . . . . .

Pagina 136

R2012a7-10input argument to unique, union, intersect, setdiff, setxor, and ismember. Forexample:[C,IA,IC] = unique([9 9 1],'R2012a')C =

Pagina 137

Mathematics7-11Interpolation and Computational Geometry Functionality Being Removedor ChangedFunctionality What HappensWhen YouUse ThisFunctionalityU

Pagina 138

R2012a7-12Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility Considerationsinterp1(X, Y, Xq,[], ...) where []specif

Pagina 139

Mathematics7-13Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility ConsiderationsPassing mixedorientation vectors t

Pagina 140

R2012a7-14Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility ConsiderationsPassing mixedorientation vectors tointer

Pagina 141

Mathematics7-15Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility ConsiderationsPassing mixedorientation vectors t

Pagina 142

R2012a7-16Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility Considerationsinterp1(..., *METHOD)interp2(..., *METHO

Pagina 143

Mathematics7-17Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility Considerationsdsearch Errors DelaunayTri/nearest

Pagina 144 - Variables editor

R2012a7-18Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility Considerationsmimofr Still Runs Not Applicable Remove

Pagina 145

Mathematics7-19Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility ConsiderationsPassing mixedorientation inputvect

Pagina 146

xxiiiManaging Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-4Ability to View Zip File Contents in Current FolderBrowser

Pagina 147

R2012a7-20Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility ConsiderationsY = psi(k0:k1,X) Warns Y = psi(k,X) wher

Pagina 148

Data Analysis7-21Data Analysis

Pagina 149

R2012a7-22Programmingxlsread Reads XLSX Files on All PlatformsThe xlsread function now reads data from XLSX files on all platforms, includingsupport f

Pagina 150

Programming7-23% Comment in file1 2 34 5 6In previous releases,t = importdata('test.txt',',')returned a numeric array:t = 1

Pagina 151 - Mathematics

R2012a7-243.141593e+00Conversion of Error and Warning Message IdentifiersFor R2012a, error and warning message identifiers have changed in MATLAB.Comp

Pagina 152

Programming7-25• Events – ListenAccess and NotifyAccessWith this release, you can specify values for these attributes only explicitly as either theap

Pagina 153

R2012a7-26• ncread• ncreadatt• ncdisp• ncinfo• netcdf.openTo use these functions to access data on remote servers using OPeNDAP protocol, specifythe U

Pagina 154 - Graphics

Programming7-27Functionality What HappensWhen You UseThis Functionality?Use This Instead Compatibility Considerationshelpdesk Still runs doc Replace

Pagina 155

R2012a7-28Graphics and 3–D Visualization

Pagina 156

Creating Graphical User Interfaces (GUIs)7-29Creating Graphical User Interfaces (GUIs)

Pagina 157

xxiv ContentsNew HDF4 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-13New HDF5 Low-Level Functions . . . . . . . . . . . . . .

Pagina 158

R2012a7-30External Interfaces/APIChanges to Compiler SupportNew Compiler SupportMATLAB Version 7.14 (R2012a) supports these new compilers for building

Pagina 159

External Interfaces/API7-31Version Support for COM ProgID ValuesYou can specify version-specific Programmatic Identifiers (ProgID) for MATLAB Version

Pagina 161 - Version: 8.1

R2011bVersion: 7.13New FeaturesBug FixesCompatibility Considerations

Pagina 162

R2011b8-2Desktop Tools and Development EnvironmentCommand WindowError Messages Reformatted for Improved Readability and NavigationError messages in th

Pagina 163

Desktop Tools and Development Environment8-3EditorNew Desktop features and changes introduced in this version are:Automatically Renaming All Variable

Pagina 164 - Mac platforms

R2011b8-4file, you may have to use a different encoding scheme. UTF-8 is often used to handlemultilingual characters. In R2011b, to handle multilingua

Pagina 165

Desktop Tools and Development Environment8-5fpOut = fopen(outfile, 'w', 'n', 'UTF-8');while feof(fpIn) == 0 lineIn = f

Pagina 166

R2011b8-6MathematicsNew Functionality for Grid-Based InterpolationMATLAB includes a new class, griddedInterpolant, for grid-based interpolation.gridde

Pagina 167

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

Pagina 168

xxvDesktop New Features Video for R2010a . . . . . . . . . . . . . . 13-2Startup and Shutdown . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 169

R2011b8-8Functionality What HappensWhen YouUse ThisFunctionalityUse This Instead Compatibility Considerationsproperty to a function thatevaluates the

Pagina 170

Data Analysis8-9Data Analysis

Pagina 171

R2011b8-10ProgrammingLoad and Save Parts of Variables in V7.3 MAT-FilesThe new matfile function creates a matlab.io.MatFile object that can efficientl

Pagina 172

Programming8-11Compatibility ConsiderationsIf you have a program that calls another program with nonmatching letter case, the callto this function no

Pagina 173

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

Pagina 174

Programming8-13If you attempt to create a PreGet or PostGet listener for a property that is not declaredas GetObservable, MATLAB issues a MATLAB:clas

Pagina 175

R2011b8-14 endendThen call the built-in version of disp:>> builtin('disp',TestClass.empty) 0x0 empty TestClass Properties: Prop

Pagina 176 - Set functions behavior change

Graphics and 3-D Visualization8-15Graphics and 3-D Visualization

Pagina 177

R2011b8-16Creating Graphical User Interfaces (GUIs)

Pagina 178

External Interfaces/API8-17External Interfaces/APIChanges to Compiler SupportNew Compiler SupportMATLAB Version 7.13 (R2011b) supports these new comp

Pagina 179

xxvi ContentsMath Libraries Not Available to Build MEX-Files with CompaqVisual Fortran . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 180

R2011b8-18Compatibility ConsiderationsIf your MEX-file uses the char16_t type, you must include the appropriate headerfile for your compiler in order

Pagina 181

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

Pagina 183

R2011aVersion: 7.12New FeaturesBug FixesCompatibility Considerations

Pagina 184

R2011a9-2Desktop Tools and Development EnvironmentDesktopNew features and changes introduced in Version 7.12 (R2011a) are:MATLAB Menus Display at the

Pagina 185

Desktop Tools and Development Environment9-3As of R2011a, the Help Browser View > Page Location dialog box (shown above) isavailable on Japanese

Pagina 186

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

Pagina 187

Desktop Tools and Development Environment9-5Comparison and Merging of MAT-file VariablesWhen comparing MAT-files, you now can view details of differe

Pagina 188

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

Pagina 189

Desktop Tools and Development Environment9-7Shared Scope Color Preferences Apply to Persistent and Global VariablesPreviously, the preference for Var

Pagina 190

xxviiR2009bSP1 Bug FixesR2009b Desktop Tools and Development Environment . . . . . . . . . . 15-2Startup and Shutdown . . . . . . . . . . . . . . . .

Pagina 191 - Version: 8.0

R2011a9-8notebook -setupMathWorks recommends you run this command whenever you install a new version ofMATLAB.

Pagina 192

Mathematics9-9MathematicsNew Function rngThe new rng function controls the random number generator used by rand, randi, andrandn. For a demonstration

Pagina 193

R2011a9-10Compatibility ConsiderationsSince the QR factorization is not unique, these different results are still correct. Ensurethat your code does n

Pagina 194

Mathematics9-11Function Name WhatHappensWhen YouUse ThisFunctionUse This Function Instead Compatibility Considerationsrand or randnwith the 'see

Pagina 195

R2011a9-12ProgrammingRegenerate P-code Files Built Before Version 7.5To enable the MATLAB software to take advantage of significant performanceimprove

Pagina 196 - Did you mean:

Programming9-13device ID (other than the default, -1), check whether you need to change the ID. Todetermine your device IDs, call audiodevinfo.• audi

Pagina 197 - Tabs in MATLAB Web browser

R2011a9-14package. Using these functions, you can create a new NetCDF file based on the schema ofan existing file, convert files between NetCDF format

Pagina 198

Programming9-15• hdf5info is not recommended. Use h5info instead.Two New Functions Added to CDFLIB PackageThe MATLAB interface to the CDF library now

Pagina 199

R2011a9-16The following example shows such a statement case and part of the resulting warning:simulink.badnameWarning: Direct access of structure fiel

Pagina 200

Programming9-17Growing Arrays Is FasterThis release improves the performance of growing an array in the trailing dimension ifthat array has not been

Pagina 201

xxviii ContentsComputational Geometry Functions Being Removed . . . . . 15-14New Sparse Matrix Functionality In qr and mldivideFunctions . . . . . . .

Pagina 202

R2011a9-18Functions and Function Elements Being RemovedFunction or Function Element Name What HappensWhen You Usethe Function orElement?Use This Inste

Pagina 203

Graphics and 3-D Visualization9-19Graphics and 3-D VisualizationPlot Catalog with a New Look, More Plots, and DiagnosticsThe Plot Catalog GUI now off

Pagina 204

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

Pagina 205 - J= besselj(nu, Z);

Creating Graphical User Interfaces (GUIs)9-21Creating Graphical User Interfaces (GUIs)Do not Repopulate Menus on the Mac from Inside Their CallbacksI

Pagina 206

R2011a9-22Functions and Function Elements Being RemovedFunction or FunctionElement NameWhatHappensWhen YouUse theFunction orElement?Use This Instead C

Pagina 207

External Interfaces/API9-23External Interfaces/APIChanges to Compiler SupportNew Compiler SupportMATLAB Version 7.12 (R2011a) supports these new comp

Pagina 208

R2011a9-24Mac 64-Bit Platforms• Xcode 3.1 with gcc 4.0.1Compatibility ConsiderationsTo ensure continued support for building your MEX-files, consider

Pagina 209

External Interfaces/API9-25Compatibility ConsiderationsMATLAB displays an error when you use the enumeration command to return arraysof .NET enumerat

Pagina 211 - Version: 7.14

R2010bSP2Version: 7.11.2Bug Fixes

Pagina 212

xxixThe view Function No Longer Supports 4-by-4 TransformationMatrices as Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-27Creatin

Pagina 214 - Internationalization

R2010bSP1Version: 7.11.1Bug Fixes

Pagina 216

R2010bVersion: 7.11New FeaturesBug FixesCompatibility Considerations

Pagina 217

R2010b12-2Desktop Tools and Development EnvironmentDesktopNew desktop features and changes introduced in Version 7.11 (R2010b) are:• “Ability to Custo

Pagina 218

Desktop Tools and Development Environment12-3• MATLAB keyboard shortcuts available in Version 7.9 (R2009a) and earlier releases• Keyboard shortcuts s

Pagina 219

R2010b12-4download the latest translated documentation on the Japanese documentation startpage.Managing FilesNew features and changes introduced in Ve

Pagina 220

Desktop Tools and Development Environment12-5in the archive are saved and up-to-date. For details see, Viewing File Details WithoutOpening Files or w

Pagina 221

R2010b12-6For information on other save options, see Save Files.Enhanced Comment WrappingThe enhanced ability to wrap MATLAB comments includes:• Wrapp

Pagina 222 - Vq = interp1(x, V, xq);

Desktop Tools and Development Environment12-7• Change Current Folder to folder-name• Add folder-name to Search Path or Remove folder-name from Se

Pagina 223

iiiContentsR2015a Desktop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2Documentation: Integrate document

Pagina 224

xxx Contentsdocsearch Accepts Multiple Words WithoutParentheses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-4View Your Platform (

Pagina 225

R2010b12-8Mathematics64-Bit Integer ArithmeticCore MATLAB arithmetic functions now support int64 and uint64 classes natively.Functions added are plus

Pagina 226

Mathematics12-9All degree-based trigonometric functions (sind, cosd, tand, cotd, secd, cscd) and theirinverses (asind, acosd, atand, acotd, asecd, ac

Pagina 227

R2010b12-10Data AnalysisArrays of Time Series Objects SupportedMATLAB now enables you to create arrays of timeseries objects. In Version 7.10(R2010a)

Pagina 228

Data Analysis12-11Function or FunctionElement NameWhat HappensWhen You Usethe Function orElement?Use This Instead Compatibility Considerationssize(ti

Pagina 229

R2010b12-12Programmingarrayfun Accepts Array of ObjectsThe arrayfun function now accepts an array of objects as an input. The output can also bea scal

Pagina 230

Programming12-13New Enumeration ClassesMATLAB provides support for classes that define enumerations. Enumeration classesenable you to define a fixed

Pagina 231 - Data Analysis

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

Pagina 232 - Programming

Programming12-15• netcdf.defGrp• netcdf.inqNcid• netcdf.inqGrps• netcdf.inqVarIDs• netcdf.inqDimIDs• netcdf.inqGrpName• netcdf.inqGrpNameFull• netcdf

Pagina 233

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

Pagina 234

Programming12-17Functions and Function Elements Being RemovedFunction or Function Element Name What HappensWhen You Usethe Function orElement?Use Thi

Pagina 235

xxxiSetting the Number of Threads Removed from PreferencesPanel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-16Tim

Pagina 236

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

Pagina 237 - Programming

Graphics and 3-D Visualization12-19Graphics and 3-D VisualizationPrint –dmfile and printdmfile Issue Deprecation WarningsThe –dmfile print command op

Pagina 238

R2010b12-20Creating Graphical User Interfaces (GUIs)Functions and Function Elements Being RemovedThe uitabgroup and uitab GUI components are undocumen

Pagina 239

Creating Graphical User Interfaces (GUIs)12-21uitab and uitabgroup Migration Document. Existing code for these functions is unlikelyto work in R2010b

Pagina 240 - External Interfaces/API

R2010b12-22External Interfaces/APIChanges to Compiler SupportNew Compiler SupportMATLAB Version 7.11 (R2010b) supports these new compilers for buildin

Pagina 241 - External Interfaces/API

External Interfaces/API12-23Compatibility ConsiderationsTo ensure continued support for building your MEX-files, consider upgrading to anothersupport

Pagina 242

R2010b12-24These types of programming errors are sometimes difficult to track down. Segmentationviolations do not always occur at the same point as th

Pagina 243 - Version: 7.13

External Interfaces/API12-25• VT_I8 — signed int64• VT_UI8 — unsigned int64• Unsigned integer

Pagina 245

R2010aVersion: 7.10New FeaturesBug FixesCompatibility Considerations

Pagina 246

xxxii ContentsR2008b Desktop Tools and Development Environment . . . . . . . . . . 17-2Desktop New Features Video . . . . . . . . . . . . . . . . . .

Pagina 247

R2010a13-2Desktop Tools and Development EnvironmentDesktop New Features Video for R2010aFor an overview of the major new features in the MATLAB Deskto

Pagina 248

Desktop Tools and Development Environment13-3Ability to Compare Sets of Keyboard ShortcutsYou can now compare one set of keyboard shortcuts to anothe

Pagina 249

R2010a13-4Improved Instructions and Examples for Adding Help and Demos to the Help BrowserThe MATLAB documentation now includes more details about how

Pagina 250

Desktop Tools and Development Environment13-5Search History Persists Between SessionsThe Help browser can now recall searches you have made across MA

Pagina 251

R2010a13-6Hide Search Results PreviewsYou can now choose not to see the one-line descriptions of search results called previews.To toggle all previews

Pagina 252

Desktop Tools and Development Environment13-7Managing Files• “Create and Expand Zipped Archives from Current Folder Browser” on page 13-7• “Visual Ai

Pagina 253 - New Spreadsheet Import Tool

R2010a13-8You can also customize or disable this feature. For more information, see Preferences forthe Current Folder Browser and Viewing Files and Fo

Pagina 254

Desktop Tools and Development Environment13-9File comparisons now highlight changes within lines and provide new toolbar buttons forstepping through

Pagina 255 - Listener

R2010a13-10• “Tab Completion for Local Variables and Functions” on page 13-10• “Toolbar Buttons for Stepping Through Code Cells Without Evaluating Cod

Pagina 256

Mathematics13-11MathematicsNew Multithreading CapabilityMATLAB's new multithreading capability now includes:• fft for long vectors• The two-inpu

Pagina 257

xxxiiiEditing and Debugging MATLAB Code . . . . . . . . . . . . . . . 17-17Create New Function and Class Files UsingTemplates . . . . . . . . . . . .

Pagina 258

R2010a13-12Compatibility ConsiderationsScalars extricated from sparse matrices are no longer full. If you previously used theoutput with a function th

Pagina 259

Mathematics13-13Function Name Use This Method Insteaddsearch DelaunayTri/nearestNeighbortsearch DelaunayTri/pointLocationdelaunay3 DelaunayTriCompati

Pagina 260

R2010a13-14• MATLAB:intConvertNonIntVal• MATLAB:intConvertOverflow• MATLAB:intMathOverflowCompatibility ConsiderationsThe warning messages for integer

Pagina 261 - NET.convertArray(rand(0,1,1))

Mathematics13-15Compatibility ConsiderationsIf you require the old behavior, replace instances of nextpow2 withnextpow2(length(v)).Math Libraries Not

Pagina 262

R2010a13-16Data AnalysisOperations on Timeseries Objects Sometimes Warn About the isTimeFirstPropertyIn a future release, the timeseries Boolean prope

Pagina 263 - Version: 7.12

Data Analysis13-17duplicated time values generated errors. This condition is now relaxed, such that timevectors must be nondecreasing. Interpolation

Pagina 264 - Help Browser

R2010a13-18ProgrammingSubscripting Into Function Return ValuesIf you have a function, such as the following, that returns a struct array:function stru

Pagina 265 - Managing Files

Programming13-19it does so using the permissions of the class. This gives MATLAB the same access asthe locations where the function handle was create

Pagina 266

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

Pagina 267

Programming13-21Functions and Function Elements Being RemovedFunction or Function Element Name What HappensWhen You Usethe Function orElement?Use Thi

Pagina 268 - Cursor (I)

xxxiv ContentsNew Options for MException getReport . . . . . . . . . . . . . . . 17-26what Function Returns Package Information . . . . . . . . . . 17

Pagina 269 - MATLAB Notebook Menu Labels

R2010a13-22Function or Function Element Name What HappensWhen You Usethe Function orElement?Use This Instead Compatibility Considerationsstrread Still

Pagina 270

Programming13-23Function or Function Element Name What HappensWhen You Usethe Function orElement?Use This Instead Compatibility Considerationswk1writ

Pagina 271

R2010a13-24Graphics and 3-D VisualizationPlot Selector Supports Additional ToolboxesThe Plot Selector, which was upgraded in Version 7.9 (R2009b), now

Pagina 272 - Functionality Being Removed

External Interfaces/API13-25External Interfaces/APIChanges to Compiler SupportNew Compiler SupportMATLAB Version 7.10 (R2010a) supports these new com

Pagina 273

R2010a13-26Discontinued Compiler SupportMATLAB no longer supports the following compilers:Windows (32-Bit) Platforms• Open Watcom Version 1.7• Microso

Pagina 274

External Interfaces/API13-27Compatibility ConsiderationsIf you distribute MEX-files that call BLAS or LAPACK functions built on a CompaqVisual Fortra

Pagina 275

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

Pagina 276 - New High-Level HDF5 Functions

R2009bSP1Version: 7.9.1Bug FixesNew features and changes introduced in this version are as follows:The version number of the MATLAB Compiler Runtime (

Pagina 278

R2009bVersion: 7.9New FeaturesBug FixesCompatibility Considerations

Pagina 279 - Error Checking Improved

xxxvWindows (64-bit) platforms . . . . . . . . . . . . . . . . . . . . 17-39Solaris SPARC (64-bit) platform . . . . . . . . . . . . . . . . 17-39Use m

Pagina 280

R2009b15-2Desktop Tools and Development EnvironmentStartup and ShutdownChanges to -nodisplay and -noFigureWindows Startup OptionsWhen you start MATLAB

Pagina 281

Desktop Tools and Development Environment15-3• “Ability to Customize Keyboard Shortcuts” on page 15-3• “Ability to Set Fonts Preferences for Extended

Pagina 282

R2009b15-4Command Window and Editor/Debugger only. For instance, on Windows, defaultkeyboard shortcut preferences appeared as follows:To restore keybo

Pagina 283

Desktop Tools and Development Environment15-5• Function and block names with brief descriptions — Expand Functions or Blocks,and then expand a catego

Pagina 284

R2009b15-6• Sort results by Relevance, in addition to sorting by Type and Product, which wereavailable in previous versions.• After sorting by Type or

Pagina 285

Desktop Tools and Development Environment15-7•Use the new Actions button on the display pane toolbar to access features such asRefresh, which clear

Pagina 286

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

Pagina 287

Desktop Tools and Development Environment15-9For an overview of the enhancements, watch this video, Current Folder BrowserEnhancements, or review the

Pagina 288

R2009b15-10Compatibility Considerations• With the new tree structure, you now see all files, including those in subfolders.You might not be able to ru

Pagina 289

Desktop Tools and Development Environment15-11• You now search for files by clicking the search button in the address bar. In previousversions, the s

Pagina 290

xxxvi ContentsRunning Functions — Command Window and History . . . . 18-7Command History Preference — Default ValueChanged . . . . . . . . . . . . . .

Pagina 291

R2009b15-12If you have questions while you work, access the File Exchange FAQ by clicking theHelp button . For full documentation, see File Exchange

Pagina 292

Desktop Tools and Development Environment15-13• “File and Folders Comparison Tool Enhanced” on page 15-13Syntax Highlighting for VHDL and Verilog Cod

Pagina 293 - Version: 7.11

R2009b15-14MathematicsComputational Geometry Functions Being Changed2- and 3-D computational geometry functions (delaunay, convhull, griddata,voronoi,

Pagina 294

Mathematics15-15Support for Large-Sized Dimensions In fftMATLAB functions fft, fft2, and fftn (and their inverses ifft, ifft2, and ifftn)can now hand

Pagina 295

R2009b15-16New Test Matrices in gallery FunctionThe gallery suite of test matrices includes new options integerdata, normaldata, anduniformdata.

Pagina 296

Data Analysis15-17Data AnalysisImproved Plot Selector Makes Graphic Data Exploration EasierThe Plot Selector button on the Workspace Browser and Vari

Pagina 297

R2009b15-18ProgrammingIgnore Selected Arguments on Function CallsThis version of MATLAB introduces a new usage for the tilde (~) operator. As inearlie

Pagina 298

Programming15-19Internal Packages Make Reserved Functions Easy to IdentifyThe MathWorks® reserves the use of packages named internal for utility func

Pagina 299

R2009b15-20rethrow(MException), introduced in version 7.5, accepts an MException object as input,and is the recommended form.Compatibility Considerati

Pagina 300

Programming15-21Compatibility ConsiderationsBecause mmreader imports Motion JPEG 2000 files, the functionmmreader.isPlatformSupported always returns

Pagina 301 - Functions Being Removed

xxxviiInclude Snapshot of M-file Output in PublishedDocument . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-25Internationalization .

Pagina 302

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

Pagina 303 - Data Analysis

Programming15-23New Tiff Object Enables Writing of Tiled Data and Broader MetadataSupportUsing the new Tiff object, you can now write portions of a T

Pagina 304

R2009b15-24Graphics and 3-D VisualizationEnhanced Plot Selector Simplifies Data DisplayThe Plot Selector workspace tool creates graphs of workspace va

Pagina 305 - New HDF4 Functions

Graphics and 3-D Visualization15-25Use the Plot Selector tool to instantly generate graphs of workspace variables. You canchoose from more than 40 tw

Pagina 306 - New netCDF Functions

R2009b15-26Compatibility Considerations• In previous versions, the Plot Selector automatically assigned variables named tand time to the x-axis. Now,

Pagina 307

Graphics and 3-D Visualization15-27The view Function No Longer Supports 4-by-4 Transformation Matrices asInputThe view function. no longer supports 4

Pagina 308

R2009b15-28Creating Graphical User Interfaces (GUIs)Expanded Documentation on Techniques for Programmatic GUI DesignThe section Lay Out a Programmatic

Pagina 309

External Interfaces/API15-29External Interfaces/APIChanges to Compiler SupportSupport for Apple Macintosh (64-bit) PlatformsMATLAB Version 7.9 (R2009

Pagina 310

R2009b15-30Compatibility ConsiderationsTo ensure continued support for building your Fortran programs, consider upgradingto another supported compiler

Pagina 311

External Interfaces/API15-31• You can access elements of a .NET array using MATLAB one-based indexing, asdescribed in Accessing .NET Array Elements i

Pagina 312

xxxviii ContentsCreating Graphical User Interfaces (GUIs) . . . . . . . . . . . . 18-41New GUI Table Component . . . . . . . . . . . . . . . . . . . .

Pagina 314

R2009aVersion: 7.8New FeaturesBug FixesCompatibility Considerations

Pagina 315

R2009a16-2Desktop Tools and Development EnvironmentDesktop New Features VideoFor an overview of the major new features in the MATLAB Desktop Tools and

Pagina 316 - New COM Data Type Support

Desktop Tools and Development Environment16-3tries to use a system browser, it produces a warning. To correct the problem, use Webpreferences to spec

Pagina 317 - • Unsigned integer

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

Pagina 318

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,

Pagina 319 - Version: 7.10

R2009a16-6When you click the link, the message window expands to display an explanation andsuggested action.

Pagina 320 - Startup and Shutdown

Desktop Tools and Development Environment16-7When you click a link within the extended message, the Help browser opens to providemore information.M-L

Pagina 321

R2009a16-8• Containing a string• Corresponding to a particular message ID• Within a given category• With a setting different from the defaultFiltering

Pagina 322

Desktop Tools and Development Environment16-9Block Indenting Option No Longer ProvidedThe Block Indent option is no longer available. Previously, thi

Pagina 323

xxxixDesktop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-3Minimizing Tools in the Desktop Now Supported onMacin

Pagina 324

R2009a16-10Note: Do not confuse the Block Indent option with the Smart indenting option, whichis still provided.Compatibility ConsiderationsTo attain

Pagina 325

Desktop Tools and Development Environment16-11Tuning and Managing MATLAB Code FilesProfile Summary Report Includes Information on Excluded Profiling

Pagina 326

R2009a16-12MathematicsUpgrade to Computational GeometryMATLAB includes a new object-oriented suite of computational geometry tools, togetherwith a new

Pagina 327

Mathematics16-13Changes To convThe conv function now accepts the shape parameter as input.Changes To conv2 and convnUse of the conv2 and convn functi

Pagina 328

R2009a16-14New Multithreading Capability in MATLAB FunctionsThe MATLAB functions for Fourier transforms fft, fft2, and fftn, and their inverses ifft,i

Pagina 329

Data Analysis16-15Data Analysis

Pagina 330

R2009a16-16Programming FundamentalsSetting the Number of Threads Removed from Preferences PanelThe capability to adjust the number of computational th

Pagina 331

Programming Fundamentals16-17mmreader Supports Linux PlatformsThe mmreader object now supports Linux platforms. For more information about usingmmrea

Pagina 332

R2009a16-18size and range Implemented for validateattributesThe validateattributes function now enables you to check the size and range of the inputva

Pagina 333

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

Pagina 334

iv ContentsUnit Testing Framework: Share variables between tests inscripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 335

xl ContentsNew Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-18finite Function Deprecated . . . . . . . . . . . . . .

Pagina 336

R2009a16-20constructor for class C should not call the constructor for class A to initialize properties.The call to initialize class A properties shou

Pagina 337

Graphics and 3-D Visualization16-21Graphics and 3-D VisualizationFunctions Previously Only Available in the Image Processing ToolboxNow Available in

Pagina 338 - Tiff Class Enhancements

R2009a16-22Creating Graphical User Interfaces (GUIs)New Programmatic GUI Doc ExampleA new example in the documentation teaches you how to code a GUI t

Pagina 339

External Interfaces/API16-23External Interfaces/APINew Interface to Microsoft .NET FrameworkThe interface to .NET allows you to bring .NET assemblies

Pagina 340 - [a,b,c] = deal(C{:})

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

Pagina 341

External Interfaces/API16-25Do Not Use mxFree to Destroy mxArraysIt is improper to call mxFree on an mxArray. Previously, to remedy misleadingstateme

Pagina 342

R2009a16-26Compatibility ConsiderationsOn 64-bit platforms, you must use 64-bit integers for all input and output variableswhen calling LAPACK and BLA

Pagina 343

External Interfaces/API16-27Improved Robustness of Web Services FunctionsThe underlying technology used in the createClassFromWsdl and parseSoapRespo

Pagina 345

R2008bVersion: 7.7New FeaturesBug FixesCompatibility Considerations

Pagina 346

xliAnnotation Textboxes Can Automatically Resize to Fit theirContents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-30Pro

Pagina 347

R2008b17-2Desktop Tools and Development EnvironmentDesktop New Features VideoFor an overview of the major new features in the MATLAB Desktop Tools and

Pagina 348

Desktop Tools and Development Environment17-3Contents of MATLAB Root DirectoryWhen you use file browser GUIs to navigate in the MATLAB root directory

Pagina 349 - Version: 7.9

R2008b17-4Specifying Address Space Protection During Startup on Windows PlatformsWhen you start MATLAB on Microsoft Windows 32-bit platforms, you can

Pagina 350

Desktop Tools and Development Environment17-5• If you have been using the -nojvm startup option because of memory or performancebenefits, look for ot

Pagina 351

R2008b17-6Preferences Opens to Last Pane UsedWhen you open the Preferences dialog box, it displays the last preference pane youviewed in the current s

Pagina 352

Desktop Tools and Development Environment17-7specify the products to look in, browse categories of functions, and search for words thatappear in func

Pagina 353

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

Pagina 354

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

Pagina 355

R2008b17-10

Pagina 356 - Workspace and Variable Editor

Desktop Tools and Development Environment17-11Finding Text In Small Help WindowsThe Find dialog box is now available from the small help windows used

Pagina 357

xlii ContentsR2007a Desktop Tools and Development Environment . . . . . . . . . . 20-2Startup and Shutdown . . . . . . . . . . . . . . . . . . . . . .

Pagina 358

R2008b17-12Current Directory Browser Enhanced, Including New Navigation and Grouping FeaturesThe Current Directory browser includes new ways to naviga

Pagina 359

Desktop Tools and Development Environment17-13View elements inthe selected file.Double-click anelement to openthe file, at thelocation of thatelement

Pagina 360

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

Pagina 361

Desktop Tools and Development Environment17-15Change What To Do Instead In Version 7.7 (R2008b)The File Filter options,accessible from thecontext men

Pagina 362

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

Pagina 363 - New Multithreading Capability

Desktop Tools and Development Environment17-17You will experience a problem if you have any directories that contain a semicolon intheir name. You wi

Pagina 364

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

Pagina 365

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

Pagina 366

R2008b17-20Block Indenting Will Not Be Included in Next VersionThe Block Indent option will no longer be provided, starting in the next version ofMATL

Pagina 367

Desktop Tools and Development Environment17-21• “Include Figure Window Details in Published Documents” on page 17-21• “Inline Math Supported in Publi

Pagina 368

xliiiDelimiter Matching Extended to Include LanguageKeyword Pairs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-19M-Lint Automatic Correc

Pagina 369

R2008b17-22MathematicsUpgrade to Random Number Generator• The randn function uses a new longer period random number algorithm as its default.• The new

Pagina 370

Mathematics17-23Functions and Properties Being RemovedFunction or PropertyNameWhat HappensWhen You UseFunction orProperty?Use This Instead Compatibil

Pagina 371 - Ambiguity Error Now Reported

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

Pagina 372 - Plot Selector in R2009b

Programming Fundamentals17-25Programming FundamentalsFast Key Lookup Provided with New Map Data StructureThis release introduces a new MATLAB class c

Pagina 373

R2008b17-26Tic and Toc Support Multiple Consecutive TimingsThe tic and toc timing functions now support multiple consecutive timings. Call ticwith an

Pagina 374

Programming Fundamentals17-27 'crc' 'commdevice' 'commsrc' 'commgui' 'commscope'

Pagina 375

R2008b17-28pause querystate = pause('query')• To return the previous pause state when enabling or disabling pausing, use one of thefollowing

Pagina 376 - Property

Programming Fundamentals17-29• To import from the clipboard using the MATLAB menus, use Edit > Paste toWorkspace instead of using File > Import

Pagina 377

R2008b17-30Two Types of issorted Warnings Are Now ErrorsIn previous versions, the issorted function generated a warning for the following twocases:• i

Pagina 378 - Changes to Building MEX-Files

Programming Fundamentals17-31Compatibility ConsiderationsBecause spmd is a new keyword, it will conflict with any user-defined functions orvariables

Pagina 379

xliv ContentsTechnique to Conserve Memory on Windows Vista . . . . . . 20-31ispuma Function Deprecated . . . . . . . . . . . . . . . . . . . . . . . 2

Pagina 380

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

Pagina 381 - Version: 7.8

Graphics and 3-D Visualization17-33Graphics and 3-D VisualizationCertain Printer Formats and Drivers Now Warn When UsedGoing forward, MathWorks is pl

Pagina 382 - Desktop New Features Video

R2008b17-34Printer Driver print Command Option StringHP DeskJet 500C/540C color (notsupported on Windows OS)-dcdj500HP Deskjet 550C color (not support

Pagina 383 - Help and Related Resources

Graphics and 3-D Visualization17-35Handle Graphics Not Supported Under -nojvm Startup OptionIf you start MATLAB with matlab -nojvm (which disables Ja

Pagina 384

R2008b17-36Creating Graphical User Interfaces (GUIs)Undocumented Functions RemovedThe following set of deprecated functions, all of which were previou

Pagina 385

Creating Graphical User Interfaces (GUIs)17-37Handle Graphics Not Supported Under -nojvm Startup OptionIf you start MATLAB with matlab -nojvm (which

Pagina 386

R2008b17-38External Interfaces/APIDo Not Use DLL File Extensions for MEX-FilesIn the future, on 32-bit Microsoft Windows systems, MATLAB will not supp

Pagina 387

External Interfaces/API17-39Microsoft Windows 64-bit and 32-bit Platforms• Microsoft Visual Studio 2008 Express EditionCompiler Support to Be Phased

Pagina 388

R2008b17-40New Function Displays Information about MEX Compiler ConfigurationsThe mex.getCompilerConfigurations function displays information about th

Pagina 389

External Interfaces/API17-41• Visual Studio 2008 Professional Edition• Visual Studio 2005 Professional EditionRun-Time Libraries Required for Applica

Pagina 390

xlvChanges to MATLAB Version-Specific ProgID . . . . . . 20-44Changes to Handling Microsoft ActiveX Methods . . . . . . . 20-44R2006b Desktop Tools an

Pagina 391 - Publishing MATLAB Code Files

R2008b17-42Compatibility ConsiderationsCalling the events (COM) function on affected types of COM server components returnsa list of events for the la

Pagina 392

R2008aVersion: 7.6New FeaturesBug FixesCompatibility Considerations

Pagina 393

R2008a18-2Desktop Tools and Development EnvironmentDesktop New Features VideoFor an overview of the major new features in the MATLAB Desktop Tools and

Pagina 394 - Upgrade to ACML 4.1.0

Desktop Tools and Development Environment18-3value, or reset the value to the default. For more information, see Default StartupDirectory (Folder) on

Pagina 395

R2008a18-4Macintosh Platforms — Define Startup Options Using New Dialog BoxOn Apple Macintosh platforms, you can specify startup options using the new

Pagina 396 - Programming Fundamentals

Desktop Tools and Development Environment18-5Compatibility ConsiderationsIf you use a specific version of Sun Microsystems Java with MATLAB on the So

Pagina 397 - 32768

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

Pagina 398

Desktop Tools and Development Environment18-7You can change the position of the toolbars within a tool, for example, putting both theEditor and Edito

Pagina 399

R2008a18-8Compatibility ConsiderationsPreviously, the default value for the Save after n commands preference was 5.HelpPreferences for Help on Selecti

Pagina 400

Desktop Tools and Development Environment18-9Array Editor Renamed to Variable Editor; Offers Enhanced Support for Structures and ClassesThe Array Edi

Pagina 401 - Now Available in MATLAB

xlvi Contentsmlintrpt Option Added to Use Preference Settings File 21-13Toolbar Refresh Button Removed . . . . . . . . . . . . . . . 21-14Publishing R

Pagina 402 - GUIDE Help Menu Enhanced

R2008a18-10Double-click an object inthe Workspace browser andit displays the object'sproperties in the Variable Editor.Object and class.Propertie

Pagina 403

Desktop Tools and Development Environment18-11New Context Menu Options in Current Directory BrowserThe context menu, which you access by right-clicki

Pagina 404

R2008a18-12Editing and Debugging M-FilesNew features and changes introduced in Version 7.6 (R2008a) are:• “Stand-Alone Editor No Longer Provided” on p

Pagina 405

Desktop Tools and Development Environment18-13Compatibility ConsiderationsYou now use the Run button to execute a run configuration and the Continue

Pagina 406

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

Pagina 407

Desktop Tools and Development Environment18-15• LASTERR and LASTERROR are better replaced by an identifier on theCATCH block. See doc CATCH.• The val

Pagina 408

R2008a18-16dbstop and dbclear Functions — Option to Specify File Not on PathThe –completenames option to the dbstop and dbclear functions enables you

Pagina 409 - Version: 7.7

Desktop Tools and Development Environment18-17Publish Functions and Scripts Using Publish Configurations; Includes Replacement of PublishingPreferenc

Pagina 410

R2008a18-18Compatibility ConsiderationsPreviously, preferences for publishing and publishing images were available on thePreferences dialog box, which

Pagina 411

Desktop Tools and Development Environment18-19Nest Cells for Finer ControlYou can nest cells in an M-file, including within functions and control sta

Pagina 412

xlviiComma Separators Not Required in Function Declaration . 21-27Improved Performance on Certain Platforms andOperations . . . . . . . . . . . . . .

Pagina 413

R2008a18-20

Pagina 414

Desktop Tools and Development Environment18-21Similarly, the cell break within the for loop enables you to run the M-file andexperiment with the mark

Pagina 415

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

Pagina 416

Desktop Tools and Development Environment18-23Version 7.5 (R2007b) Explicit cell break

Pagina 417

R2008a18-24Version 7.6 (R2008a) Implicitcell breakExplicit cell breakImplicitcell breakSee Nested Code Cells for details.

Pagina 418

Desktop Tools and Development Environment18-25Publish Button MovedThe Publish button, , is now located on the Editor toolbar.Compatibility Considera

Pagina 419

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

Pagina 420

Desktop Tools and Development Environment18-27Macintosh OS X Platform ChangesOn Apple Macintosh OS X systems, for users selecting the Chinese languag

Pagina 421

R2008a18-28MathematicsUpgrade to BLAS LibrariesMATLAB software now uses new versions of the Basic Linear Algebra Subroutine(BLAS) libraries. For Windo

Pagina 422

Mathematics18-29Function or PropertyNameWhat HappensWhen You UseFunction orProperty?Use This Instead Compatibility Considerationsflops Errors None Re

Pagina 423

xlviii ContentsJVM Software Updated for 64-Bit Linux Platforms . . . 22-3Desktop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 424

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

Pagina 425

Data Analysis18-31applied to most graphs (some plot types do not support brushing). Data brushing is anexclusive, persistent mode. That is, when usin

Pagina 426

R2008a18-32If you leave data brushing mode to zoom, pan, or edit the plot, all brushed observationsremain highlighted. You can then reenter brushing m

Pagina 427

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

Pagina 428

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

Pagina 429

Programming18-35ProgrammingMultithreaded Computations EnabledMultithreaded computations, introduced in R2007a, are now on by default.Compatibility Co

Pagina 430

R2008a18-36Clear Variables with ExceptionsWith the new clearvars function, you can specify which variables you do not want clearedfrom memory.Informat

Pagina 431

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

Pagina 432

R2008a18-38Graphics and 3-D VisualizationNew Figure Toolbar ButtonsTwo new toolbar buttons and an information bar have been added in this release that

Pagina 433

Graphics and 3-D Visualization18-39• loglog• mesh• plot• plot3• quiver• quiver3• scatter• scatter3• semilogx• semilogy• stairs• stem• stem3• subplot•

Pagina 434

xlixNew Library CHOLMOD for Sparse Cholesky Factorization 22-14New Solver for State-Dependent DDEs . . . . . . . . . . . . . . . 22-14Upgrade to BLAS

Pagina 435

R2008a18-40are used to contain them in Version 7 than before. That is, the annotation objects havenever been backward compatible.

Pagina 436

Creating Graphical User Interfaces (GUIs)18-41Creating Graphical User Interfaces (GUIs)New GUI Table ComponentThe new uitable component allows you to

Pagina 437

R2008a18-42hidegui Function Being ObsoletedThe hidegui function is being obsoleted and will be removed in a future version. Insteadof this function us

Pagina 438

Creating Graphical User Interfaces (GUIs)18-43Enable Status Mouse ButtonPressedKey ModifierPressedSelectionTypeon First ClickSelectionTypeon Second C

Pagina 439 - >> d(:) = 5;

R2008a18-44External Interfaces/APIInterface to Generic DLLs Supported on 64-bit PlatformsThe ability to load a generic DLL on 64-bit platforms using l

Pagina 440

External Interfaces/API18-45Macintosh (Intel-based 32-bit) platforms• Apple Xcode 3.0 (gcc / g++ Version 4.0.1)Discontinued Compiler SupportThe follo

Pagina 441

R2008a18-46Compatibility ConsiderationsPrior to this release, MATLAB contained Perl Version 5.005. Consult your Perldocumentation for details on the c

Pagina 442

External Interfaces/API18-47propertyValue = get(javaObject, 'PropertyName'); set(javaObject, 'PropertyName', newValue);Compatibil

Pagina 443

R2008a18-48Environment Variables Required with Intel Visual Fortran 9.0When you build a MEX-file, an engine application, or a MAT application using In

Pagina 444

External Interfaces/API18-49Changes to Dynamic Data Exchange (DDE) DocumentationIn MATLAB Version 5.1, all development work for the Dynamic Data Exch

Pagina 445 - Four New Major GUI Examples

vGraphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-18drawnow Function: Improve performance in animation l

Pagina 446

l ContentsNew Microsoft and Intel Compilers Supported . . . . . . . . . 22-27Environment Variables Needed for Intel VisualFortran . . . . . . . . . .

Pagina 448

R2007bVersion: 7.5New FeaturesBug FixesCompatibility Considerations

Pagina 449

R2007b19-2Desktop Tools and Development EnvironmentStartup and ShutdownWindows Platforms Startup ChangesYou can now change the MATLAB startup director

Pagina 450

Desktop Tools and Development Environment19-3If scripts include the -sd startup option to specify the startup directory, that will be thestartup dire

Pagina 451 - Version: 7.6

R2007b19-4New Desktop Layout — All but Command Window MinimizedSelect Desktop > Desktop Layout > All but Command Window Minimized toarrange the

Pagina 452

Desktop Tools and Development Environment19-5Start Button — View Source Files RenamedTo add your own toolboxes to the Start button, select Start >

Pagina 453

R2007b19-6collapsed sessions. For more information, see Quick Search for Entries Beginning withSpecified Letters or Numbers.Pop-Up Help for a Function

Pagina 454

Desktop Tools and Development Environment19-7In the Help Contents, Link and Target products appear together after any installedSimulink and blockset

Pagina 455

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

Pagina 456

Desktop Tools and Development Environment19-9

Pagina 457

liHyperlink Color Preference Moved . . . . . . . . . . . . . . . 23-6Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 458

R2007b19-10Compatibility ConsiderationsIn the previous version, you could select the function name, right-click, and select Helpon Selection. The docu

Pagina 459

Desktop Tools and Development Environment19-11Run/Continue Button ChangesThe Run/Continue button has a new look and new location on the Editor/Debugg

Pagina 460

R2007b19-12New look and position of Run/Continue buttonRun/Continue button in previous versionsCompatibility ConsiderationsThe button performs the sam

Pagina 461 - Tuning and Managing M-Files

Desktop Tools and Development Environment19-13Quick Help for a Function in the EditorFor more information, see “Help on Selection Enhanced in Command

Pagina 462 - Editing and Debugging M-Files

R2007b19-14Compatibility ConsiderationsIf you use the Notepad application to view files provided with MATLAB, you see carriagereturn and line feed sym

Pagina 463

Desktop Tools and Development Environment19-15The following illustration shows how the ver M-file included with MATLAB Version 7.5looks when opened i

Pagina 464

R2007b19-16• Tab completion• Debugging M-files• Evaluating selections• Accessing source control features• Docking the tool in the MATLAB desktop• Usin

Pagina 465

Desktop Tools and Development Environment19-17Text Markup in Cells for PublishingThe following Editor/Debugger menu items are added to assist you in

Pagina 466 - Publishing M-Files

R2007b19-18MathematicsNew FunctionsFunction Descriptionquadgk Numerically evaluates the integral, adaptive Gauss-Kronrod quadraturebvp5c Solves bounda

Pagina 467

Mathematics19-19Upgrade to BLAS LibrariesFor AMD processors, MATLAB software now uses Version 3.6 of the AMD Core MathLibrary (ACML™) for the Basic L

Pagina 468

lii Contentssvd Returns Economy Decomposition . . . . . . . . . . . . . . . . 23-17New Location for LAPACK Libraries . . . . . . . . . . . . . . . . .

Pagina 469

R2007b19-20 98Existing program code that relies on the colon operations of character arrays returning adouble, needs to be updated to expect a char

Pagina 470

Data Analysis19-21Data Analysis

Pagina 471

R2007b19-22ProgrammingIncreased Size for Large ArraysOn 64-bit platforms, MATLAB arrays are no longer limited to 231 elements. The limit inMATLAB 7.5

Pagina 472

Programming19-23New Split String Functionality in regexpUsing the regular expressions function regexp, you can now split an input string intosections

Pagina 473 - Explicit

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

Pagina 474

Programming19-25 name: '@()error('* Error *')' line: 1 % V7.4 response line: 0

Pagina 475

R2007b19-26Compatibility ConsiderationsIf you call hdfread in a script to perform an I/O operation and that operation fails,your script will now termi

Pagina 476

Programming19-27Windows Current Working Directory CorrectedOn Windows, you can define a current working directory, cwd, for each drive letter. Forexa

Pagina 477

R2007b19-28Compressed AVI Video Files in Windows Vista and Windows XP x64Because Windows Vista, Windows Vista 64-bit, and Windows XP x64 operating sys

Pagina 478

Programming19-29Removal of freeserial FunctionThe freeserial function is now obsolete. Use fclose to release the serial port.Compatibility Considerat

Pagina 479

liiiNew Return Value for mexext on Windows Systems . 23-30New mexext Script to Obtain MEX-File Extension inMakefiles . . . . . . . . . . . . . . . . .

Pagina 480

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

Pagina 481

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

Pagina 482

R2007b19-32If you edit a textbox that has FitBoxToText set to 'on', the textbox resizes toaccommodate the number of characters and lines in

Pagina 483

Graphics and 3-D Visualization19-33Property Inspector Now Has Context-Sensitive HelpWhen you use the Property Inspector (the inspect command), you ca

Pagina 484

R2007b19-34• scatter• scatter3• semilogx• semilogy• stairs• stem• stem3• subplot• surf• surfcCompatibility ConsiderationsSpecifying the v6 flag to any

Pagina 485

Creating Graphical User Interfaces (GUIs)19-35Creating Graphical User Interfaces (GUIs)New Editors for Creating Custom Toolbars within GUIDEIn previo

Pagina 486

R2007b19-36Both measurements are given in pixels, regardless of the current Units settings for GUIobjects. When multiple objects are selected, any ele

Pagina 487

Creating Graphical User Interfaces (GUIs)19-37Function Name What HappensWhen You Run theFunction?Use This Function Instead CompatibilityConsideration

Pagina 488 - New Figure Toolbar Buttons

R2007b19-38External Interfaces/APISupport for 64-bit mxArraysMATLAB Version 7.5 (R2007b) supports 64-bit mxArrays. This change allows C/C++ andFortran

Pagina 489

External Interfaces/API19-39Changes to the MATLAB Locale SettingRetrieving and using the proper locale setting is a mandatory operation in creatingan

Pagina 490

liv ContentsSource Control Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-6Register Project Feature Added; Add to Source ControlBe

Pagina 491 - New GUI Table Component

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

Pagina 492

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

Pagina 493

R2007b19-42Windows (32-bit) platformDefine the environment variable VS71COMNTOOLS. The value of this environmentvariable is the path to the Common7\To

Pagina 494

External Interfaces/API19-43Compatibility ConsiderationsIf you must support this obsolete functionality, we suggest you print a copy of theExternal I

Pagina 496

R2007aVersion: 7.4New FeaturesBug FixesCompatibility Considerations

Pagina 497

R2007a20-2Desktop Tools and Development EnvironmentStartup and ShutdownNew features and changes introduced in Version 7.4 (R2007a) are• “Double-Clicki

Pagina 498

Desktop Tools and Development Environment20-3Now on Microsoft Windows and Macintosh platforms, the Import Wizard opens in theexisting session of MATL

Pagina 499

R2007a20-4Compatibility ConsiderationsIn previous releases, the default startup directory was \Work, located in the directoryin which MATLAB was insta

Pagina 500

Desktop Tools and Development Environment20-5Windows Vista User Account Control (UAC) security features restrict access to ProgramFiles. To accommoda

Pagina 501 - Version: 7.5

lvExternal Interfaces/API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-17New File Archiving Functions and Functionality . . . . . . .

Pagina 502

R2007a20-6Compatibility ConsiderationsIf you use a specific version of Java with MATLAB on Windows platforms, this changemight impact you.New Version

Pagina 503

Desktop Tools and Development Environment20-7button and select Restore toolname to return the tool to the desktop. Perform thesetasks for the selecte

Pagina 504

R2007a20-8When minimized, a tool, such as the Command Window in this example,is represented by a button on the desktop border.

Pagina 505

Desktop Tools and Development Environment20-9Hover over or click the button for a minimized tool to temporarily view the tool.The tool is temporarily

Pagina 506

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

Pagina 507

Desktop Tools and Development Environment20-11Default desktop layout.Maximize a tool, for example, the Command Windowso it occupies the full MATLAB d

Pagina 508

R2007a20-12Maximized, the Command Window now occupies the full desktop area.Restoring the Command Window returns it to its original size andlocation i

Pagina 509

Desktop Tools and Development Environment20-13The Current Directory browser and Workspace browser are"tabbed together".The name of the tool

Pagina 510

R2007a20-14Multithreaded Computation Support Added; Enable Via New PreferenceIf you run MATLAB on a multiple-CPU system (multiprocessor or multicore),

Pagina 511 - Run/Continue Button Changes

Desktop Tools and Development Environment20-15Macintosh Platforms—Some Key Bindings in Command Window ChangedOn Macintosh platforms, some key binding

Pagina 513

R2007a20-16• More easily see if this same documentation page has been updated for the latestproduct version.Include Search Database for Your Own Help

Pagina 514

Desktop Tools and Development Environment20-17Current Directory Browser Enhancements• When you double-click a Windows shortcut in the Current Directo

Pagina 515

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

Pagina 516 - Publishing Results

Desktop Tools and Development Environment20-19Delimiter Matching Extended to Include Language Keyword PairsYou can now see the match to language keyw

Pagina 517

R2007a20-20Terminate statement with semicolon to suppress output.However, M-Lint suppressed displaying the message for files with three or more cells

Pagina 518

Desktop Tools and Development Environment20-21Compatibility ConsiderationsSee the compatibility considerations associated with “M-Lint Detection of M

Pagina 519 - Upgrade to BLAS Libraries

R2007a20-22MathematicsNew FunctionsFunction Descriptionbsxfun Applies an element-by-element binary operation to two fullarrays with singleton expansio

Pagina 520

Mathematics20-23rand('twister',5489);Note that the 'state' keyword corresponds specifically to the SWB algorithm;it cannot be use

Pagina 521

R2007a20-24Compatibility ConsiderationsExisting program code that relies on mode of an empty array to return an empty arrayshould be modified.Change t

Pagina 522

Data Analysis20-25Data Analysis

Pagina 523

R2015aVersion: 8.5New FeaturesBug FixesCompatibility Considerations

Pagina 524

R2007a20-26ProgrammingNew FunctionsNew Functions in this release areFunction Descriptionassert Generates an error when a specified condition is violat

Pagina 525

Programming20-27extra task of sorting through the output and merging like data types together in yourown code.For more information, see the textscan

Pagina 526

R2007a20-28fileinfo = name: 'myfile.txt' date: '16-Mar-2006 13:34:01' bytes: 251 isdir: 0 datenum: 7.327

Pagina 527 - New Multimedia Functionality

Programming20-29 'MATLAB'eval(s)ans = MATLABCompatibility ConsiderationsYou might have to modify M-file programs that expect the previo

Pagina 528

R2007a20-30try statements, catch statements, endWarning: This try-catch syntax will continue to work in R2007a, but may be illegal or may mean somethi

Pagina 529

Programming20-31In the following example, function myfun1 is not callable if the current working directoryis set to dir1. The same holds true for myf

Pagina 530

R2007a20-32Compatibility ConsiderationsIt is recommended that you remove calls to ispuma from your M-file functions.

Pagina 531

Graphics and 3-D Visualization20-33Graphics and 3-D VisualizationNudging Annotations with Arrow KeysIn plot edit mode, annotations such as textboxes,

Pagina 532

R2007a20-34Property Inspector Now Categorizes Graphic Object PropertiesThe Property Inspector (accessed via the Property Editor, GUIDE, and the inspec

Pagina 533

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

Pagina 534

R2015a1-2DesktopDocumentation: Integrate documentation for custom toolboxes into theMATLAB Help BrowserWhen you create custom help and add it to the M

Pagina 535

R2007a20-36Creating Graphical User Interfaces (GUIs)GUIDE No Longer Copies Callbacks When You Duplicate ComponentsIn GUIDE, when you copy a component

Pagina 536

Creating Graphical User Interfaces (GUIs)20-37UNIX: File Dialog 'Location' Property Is ObsoleteFor UNIX platforms, the Location property of

Pagina 537

R2007a20-38Function Replacementhidegui Obsoleted. Now issues warnings. Set the figureHandleVisibility property instead.uigettoolbar Obsoleted. No warn

Pagina 538

External Interfaces/API20-39External Interfaces/APINew File Extensions for MEX-FilesMEX-Files in MATLAB for Apple Macintosh (Intel)With the introduct

Pagina 539 - Changes to Compiler Support

R2007a20-40Compatibility ConsiderationsRecompile these MEX-files with MATLAB R12 or later.Changes to Compiler SupportThe set of compilers that MATLAB

Pagina 540

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

Pagina 541 - Compiler

R2007a20-42Compatibility ConsiderationsRefer to the IBM XL Fortran V10.1 for Linux Language standards Web site http://publib.boulder.ibm.com/infocente

Pagina 542

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

Pagina 543

R2007a20-44For an example of this feature, see Responding to Interface Events from an AutomationServer.Get the Status of a MATLAB Automation ServerUsi

Pagina 544

External Interfaces/API20-45invoke(target_sheet, 'Activate');Activesheet = myApp.Activesheet;cellname = 'B2';Range = Activesheet.

Pagina 545 - Version: 7.4

Desktop1-3Previously, to access custom help that you added to MathWorks help, you clicked aSupplemental Software link at the bottom of the help home

Pagina 547

R2006bVersion: 7.3New FeaturesBug FixesCompatibility Considerations

Pagina 548

R2006b21-2Desktop Tools and Development EnvironmentStartup and ShutdownNew features and changes introduced in Version 7.3 (R2006b) are described here.

Pagina 549

Desktop Tools and Development Environment21-3To achieve the former behavior, that is, to redirect both output and errors to the specifiedtarget, use

Pagina 550

R2006b21-4Compatibility ConsiderationsM-Lint preferences were previously accessed via the Editor/Debugger Language settingsfor M.

Pagina 551

Desktop Tools and Development Environment21-5Close All Documents and Close Selected Documents Feature AddedWhen you have multiple documents open with

Pagina 552

R2006b21-6Compatibility ConsiderationsIn previous versions, MATLAB displayed a warning when it encountered an invalidinfo.xml file.HelpNew features an

Pagina 553

Desktop Tools and Development Environment21-7documentation will not be included in searches. If you want search to work for thatdocumentation, contac

Pagina 554

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

Pagina 555 - Default desktop layout

Desktop Tools and Development Environment21-9Use elements in the toolbar to exchange the left-right positions of the two files and tospecify the numb

Pagina 556

vi ContentsCopying and pasting variables in the Workspace browser . . . 2-3Self-paced eLearning available from within MATLAB . . . . . . 2-3New startu

Pagina 557 - "tabbed together"

R2015a1-4Array Size Limit: Limit maximum array size to prevent unintendedcreation of very large matricesMATLAB® limits the amount of computer memory u

Pagina 558

R2006b21-10You can also run the File Comparisons tool from the desktop by selecting Desktop >File Comparisons. Drag a file from the Current Directo

Pagina 559

Desktop Tools and Development Environment21-11product is installed and you select the M-Lint preference to Show MATLAB Compilerdeployment messages. Y

Pagina 560

R2006b21-12Compatibility ConsiderationsThe new File Comparisons tool replaces the File Comparison Report. The tool providesthe same functionality as t

Pagina 561

Desktop Tools and Development Environment21-13 consider preallocating for speed.34: Use dynamic fieldnames with structures instead of GETFIELD...

Pagina 562

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:

Pagina 563

Mathematics21-15MathematicsNew FunctionsFunction Descriptionamd Interface to the amd algorithm. This interface is similar to thatused in symamd, but

Pagina 564

R2006b21-16Permutation Vectors with lu, luinc, ldlPermutation vectors for lu, luinc, and ldl provide memory savings and, for large data, anoticeable p

Pagina 565

Mathematics21-17Sparse Arrays on 64-Bit SystemsThe internal storage of sparse arrays on 64-bit systems has changed in the R2006brelease. This change

Pagina 566

R2006b21-18• There are new syntaxes for importing from and exporting to the library's internalsingle- and double-precision wisdom databases. Thes

Pagina 567

Mathematics21-19• The opts.cheb and opts.stagtol fields in the options structure of eigsCompatibility ConsiderationsYou will need to remove all insta

Pagina 568

Language and Programming1-5Language and Programmingrepelem Function: Repeat copies of array elements to create a largerarrayThe repelem function copi

Pagina 569

R2006b21-20Data AnalysisGenerate M-File Now Supports Basic Fitting and Data StatisticsThe Generate M-File option on the File menu of MATLAB figure win

Pagina 570

Programming21-21ProgrammingSaving to MAT-Files Larger than 2 GBWith MATLAB R2006b, you can save data items that are over 2 gigabytes in size. Thiscap

Pagina 571

R2006b21-22save Option Description Available InVersionsIs the DefaultIn Versionssave -v7 Save to a MAT-file you can open inMATLAB version 7V7.3 andlat

Pagina 572

Programming21-23• parfor – designates a for loop in the Distributing Computing Toolbox• classdef – signals the beginning of a MATLAB class definition

Pagina 573

R2006b21-24Compatibility ConsiderationsIf any of your programs depend on the displayed output of whos, specifically in relationto the changes listed a

Pagina 574

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

Pagina 575

R2006b21-26endCompatibility ConsiderationsYour M-file programs may generate this warning if correct syntax for try and catch isnot used.Case-Sensitivi

Pagina 576

Programming21-27Compatibility ConsiderationsIf any of your programs use lower-level MATLAB file I/O functions that send output tostdin, because these

Pagina 577

R2006b21-28function [A B C] = myfun(x, y)Compatibility ConsiderationsThis new syntax is not valid in MATLAB versions earlier than Release 14. When wri

Pagina 578

Graphics and 3-D Visualization21-29Graphics and 3-D VisualizationPlotting Tools Are Now Modular Desktop ComponentsThe three MATLAB plotting tools (Fi

Pagina 579

R2015a1-6fullfile Function: Maintain all double-dot symbolsThe fullfile function now maintains all double-dot symbols in the input file parts.This beh

Pagina 580 - Permanent

R2006b21-30rendering, and other printing characteristics in this new dialog. The Page Setup andPrint Setup dialogs still exist, and the Print dialog t

Pagina 581 - Functions Becoming Obsolete

Graphics and 3-D Visualization21-31Customizing Zoom, Pan, and Rotate3D Data Explore ModesYou can now customize the behavior of data explore modes by

Pagina 582

R2006b21-32• GUI Alternatives sections above syntax descriptions describe how to invoke a function(or similar capability) from a GUI, and provide link

Pagina 583

Creating Graphical User Interfaces (GUIs)21-33Creating Graphical User Interfaces (GUIs)Functions Are Now ObsoleteThe following functions are obsolete

Pagina 584

R2006b21-34Documentation EnhancementThe Creating GUIs Programmatically section of the documentation now containsinformation commensurate with informat

Pagina 585 - Linux (32-bit) platform

External Interfaces/API21-35External Interfaces/APINew Types for Declaring Size and Index ValuesVersion 7.3 (R2006b) defines two new types for API ar

Pagina 586

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

Pagina 587 - New COM Features

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

Pagina 588

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

Pagina 589 - For example:

External Interfaces/API21-39feature('COM_ActxProgidCheck',1)By default, ProgID checking is on.

Pagina 590

Language and Programming1-7• “Index into Python String”• “Index into Python list”• “Index into Python tuple”• “Index into Python dict”Python Version

Pagina 592

R2006aVersion: 7.2New FeaturesCompatibility Considerations

Pagina 593

R2006a22-2Desktop Tools and Development EnvironmentStartup and ShutdownNew features and changes introduced in Version 7.2 (R2006a) are described here.

Pagina 594

Desktop Tools and Development Environment22-3JVM Software Updated for 64-Bit Linux PlatformsThe Sun Microsystems JVM software version that MATLAB use

Pagina 595

R2006a22-4Keyboard and Indenting Command Window Preferences ReorganizedThe Command Window Keyboard and Indenting preferences pane was removed. The tab

Pagina 596

Desktop Tools and Development Environment22-5Editing and Debugging M-FilesNew features and changes introduced in Version 7.2 (R2006a) are• “Tab Compl

Pagina 597

R2006a22-6Compatibility ConsiderationsIf you press the Tab key to add spacing within your statements, you might insteadget a completion for a function

Pagina 598

Desktop Tools and Development Environment22-7M-Lint Automatic Code Analyzer Checks for Problems and Suggests ImprovementsThe M-Lint code analyzer, no

Pagina 599

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

Pagina 600 - Deployment Messages in M-Lint

Desktop Tools and Development Environment22-9

Pagina 601

R2015a1-8the WSDL import element. For more information, see “Limitations to WSDL DocumentSupport”.Unit Testing Framework: Tag tests for categorization

Pagina 602

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

Pagina 603

Desktop Tools and Development Environment22-11M-Lint and mlint Enhancements and ChangesThe M-Lint code analyzer is now built into the Editor/Debugger

Pagina 604

R2006a22-12Accuracy ImprovedThe Profiler provides more accurate accounting. The total time you see with the ProfilerGUI now matches total wall clock t

Pagina 605

Desktop Tools and Development Environment22-13publish Function has New catchError OptionThe publish function has a new catchError option that allows

Pagina 606

R2006a22-14MathematicsNew Library CHOLMOD for Sparse Cholesky FactorizationFor sparse matrices, MATLAB now uses CHOLMOD version 1.0 to compute the Cho

Pagina 607

Mathematics22-15Improved Algorithm for expmThe expm function now uses an improved algorithm to compute a matrix exponential.This algorithm often requ

Pagina 608 - Obsolete Functions

R2006a22-16Data AnalysisData Analysis Collection Revised and ExpandedIn this release, the MATLAB Data Analysis collection has been thoroughly revised

Pagina 609 - Different Data Types

Programming22-17ProgrammingLarger Data Sets with 64-Bit Windows XPMATLAB support for Windows XP 64-bit edition enables you to handle much larger data

Pagina 610

R2006a22-18For example, to use the Intel YUV codec, use the four-CC code:aviobj = avifile('myvideo.avi', 'compression', 'IYUV

Pagina 611

Programming22-19issorted Support for Cell ArraysYou can now use the issorted function on a cell array of strings.XLS Functions Support More Formatsxl

Pagina 612 - New Reserved MATLAB Keywords

Language and Programming1-9Unit Testing Framework: Compare objects using isequalnWhen the class of the expected value defines an isequaln method, the

Pagina 613

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

Pagina 614

Programming22-21% operate on dataoutData = unicode2native(dataU);fid = fopen(file, 'w');fwrite(fid, outData, 'char');fclose(fid);

Pagina 615

R2006a22-22You can, but do not have to, remove the calls to native2unicode in V7.2 (R2006a):indata = fread(fid, '*char')';indata = frea

Pagina 616

Graphics and 3-D Visualization22-23Graphics and 3-D VisualizationPasting Cut or Copied Graphic Objects Can Create an AxesThe way in which MATLAB hand

Pagina 617

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

Pagina 618

Creating Graphical User Interfaces (GUIs)22-25Creating Graphical User Interfaces (GUIs)Treatment of & in Menu Label Is ChangedThe use of '&a

Pagina 619 - New Desktop Printing GUI

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

Pagina 620

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

Pagina 621

R2006a22-28• Microsoft Visual C++ 2005, also informally called Visual C++ 8.0, part of MicrosoftVisual Studio 2005• Intel Visual Fortran 9.0Environmen

Pagina 622

External Interfaces/API22-29In V7.2 (R2006a), this file has been renamed cvf66engmatopts.bat to match theCompaq Visual Fortran product name.Compatibi

Pagina 623 - Colored Buttons on Windows XP

R2015a1-10or an array of meta.class instances, consider performing the qualification using twoseparate Throws constraints.Git Source Control Integrati

Pagina 624 - Documentation Enhancement

R2006a22-30Obsolete Functions: MAT-File AccessObsolete Function ReplacementmatDeleteArray (C andFortran)matDeleteVariablematDeleteMatrix (C andFortran

Pagina 625

External Interfaces/API22-31Obsolete Functions: MX Array ManipulationObsolete Function ReplacementmxClearLogical (C andFortran)NonemxCreateFull (C an

Pagina 626

R2006a22-32Obsolete Function ReplacementmexGetGlobal (C andFortran)mexGetVariablePtrmexGetInf (C andFortran)mxGetInfmexGetMatrix (C andFortran)mexGetV

Pagina 627

External Interfaces/API22-33Obsolete Function ReplacementengPutFull (C and Fortran) mxCreateDoubleMatrix followed by mxSetPr,mxSetPi, engPutVariablee

Pagina 628

R2006a22-34Dynamic Linking of External LibrariesMATLAB supports dynamic linking of external libraries only on 32-bit Windows systemsand 32-bit Linux s

Pagina 629

R14SP3Version: 7.1New FeaturesCompatibility Considerations

Pagina 630

R14SP323-2Desktop Tools and Development EnvironmentStartup and ShutdownNew features and changes introduced in this version are described here.Startup

Pagina 631 - Version: 7.2

Desktop Tools and Development Environment23-3Resize Multiple Tools at OnceYou can now position the pointer at the intersection of three or four tools

Pagina 632

R14SP323-4your existing preference directory, R14, to the new directory, R14SP3. Changes madeto files in the directory when you run R14SP3 are not use

Pagina 633

Desktop Tools and Development Environment23-5preferences Function Now Supports -nodesktop OptionRun preferences -nodesktop after starting MATLAB on W

Pagina 634

Language and Programming1-11Functionality Result Use This Instead Compatibility Considerationsmatlab.unittest.TestCaseconstructorWarns matlab.unittes

Pagina 635

R14SP323-6• “Hyperlink Color Preference Moved” on page 23-6Tab Completion Preference AddedThere is a new Command Window preference, Tab key narrows co

Pagina 636

Desktop Tools and Development Environment23-7• “echodemo Function Added to Replace playshow function” on page 23-8• “Add Demos to Favorites” on page

Pagina 637

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

Pagina 638

Desktop Tools and Development Environment23-9Find Files Offers Additional FilteringThe Find Files tool has been enhanced. It now allows you to search

Pagina 639

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

Pagina 640

Desktop Tools and Development Environment23-11Comment Lines in Java, C, or C++ Program Files Now SupportedYou can now use the Text > Comment featu

Pagina 641

R14SP323-12Incremental Search Now Supports Removing CharactersIn incremental search, use Ctrl+G to remove characters back to the previous successfulst

Pagina 642

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

Pagina 643 - Source Control Interface

R14SP323-14your files. If you specify the optional arguments, the notebook function runs and issuesa warning, but ignores the values. In a future rele

Pagina 644

Mathematics23-15MathematicsNew FunctionsThe following functions are new in R14SP3:Function Descriptionhypot Square root of sum of squaresmode Finds m

Pagina 645 - Improved Algorithm for expm

R2015a1-12Mathematicsdiscretize Function: Group numeric data into bins or categoriesThe discretize function groups numeric data into bins. By default

Pagina 646

R14SP323-16Function Modified Behaviorodeset New NonNegative integration property to impose nonnegativityconstraints on an ODE solutionrand Supports th

Pagina 647

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

Pagina 648 - Setting Environment Variables

R14SP323-18Data AnalysisData Analysis DocumentationThe MATLAB 7.1 documentation includes a new Data Analysis book that describes howto use MATLAB func

Pagina 649

Data Analysis23-19To manually enable Time Series Tools on the Linux 64 platform, type the following at theMATLAB prompt:rehash toolboxcachefeature(&a

Pagina 650

R14SP323-20ProgrammingNew FunctionsThis version introduces the following new functions:Function Descriptionarrayfun Applies a given function to each e

Pagina 651

Programming23-21Function Modified Behaviorwho, whos Displays information separately for nested functionsCompatibility ConsiderationsThe following fun

Pagina 652

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

Pagina 653 - Inspector Has New Look

Programming23-23 1 1Support for Reading EXIF Data from Image FilesYou can now read EXIF (Exchangeable Image File Format) data from JPEG and T

Pagina 654

R14SP323-24withc = fread(fid, 50, '*uint8')'You can also use this notation with an input stream that is specified as a number ofbits (e

Pagina 655 - Major Documentation Revision

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

Pagina 656

Mathematics1-13Functionality being removed or changedFunctionality Result Use This Instead CompatibilityConsiderationsbitmax Errors flintmax Replace

Pagina 657

R14SP323-26Graphics and 3-D VisualizationPlot Tools Now Available on Mac PlatformAs a consequence of enabling Java figures on Macintosh, the Plot Tool

Pagina 658

Creating Graphical User Interfaces (GUIs)23-27Creating Graphical User Interfaces (GUIs)Plans for Obsolete FunctionsThe table below indicates function

Pagina 659

R14SP323-28External Interfaces/APImex Switches Now Supported on Microsoft WindowsMATLAB now supports the -l and -L options to the mex command on Windo

Pagina 660

External Interfaces/API23-29MathWorks recommends that you recompile all MEX-files after installing MATLAB7.1. MEX-files compiled in MATLAB 7.0.4 with

Pagina 661

R14SP323-30Conflicting MEX-Files Renamed AutomaticallyIf two files with the same name but with .mexw32 and .dll extensions exist in the samedirectory,

Pagina 662

External Interfaces/API23-31New Preferences Directory and MEX OptionsThe MATLAB preferences directory has changed. In MATLAB 7.1, the preferencesdire

Pagina 663 - Support for VT_Date Type

R14SP323-32Compatibility ConsiderationsYou may need to recompile code compiled with an earlier compiler that is no longersupported.Import Libraries Mo

Pagina 664

External Interfaces/API23-33Previous releases of MATLAB created the figure in the background. To duplicate the oldbehavior, create a figure with its

Pagina 666

R14SP2Version: 7.0.4New FeaturesCompatibility Considerations

Pagina 667

viiOption for interpolating to 'next' and 'previous' neighborswith the interp1 function and griddedInterpolant class . . 2-12Optio

Pagina 668

R2015a1-14Data Import and ExportDatastore: Read one complete file with 'file' option for ReadSizepropertyThe ReadSize property for TabularTe

Pagina 669

R14SP224-2Desktop Tools and Development EnvironmentInstallation Folder with SpacesIn MATLAB 7.0.4 (R14SP2) software, the following two changes have be

Pagina 670

Desktop Tools and Development Environment24-3DesktopConfirmation Dialog Boxes Preference IntroducedThere are new preferences for displaying or not di

Pagina 671

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

Pagina 672

Desktop Tools and Development Environment24-5• View the file size by selecting the Show file sizes check box. (This is selected bydefault.)• For mode

Pagina 673

R14SP224-6Source Control InterfaceRegister Project Feature Added; Add to Source Control Behavior ChangedThere is a new source control interface featur

Pagina 674

Desktop Tools and Development Environment24-7Cell Publishing: LaTeX Image File Type ChangesPublishing to LaTeX now respects the image file type you s

Pagina 675

R14SP224-8MathematicsNew Vendor BLAS Used for Linear Algebra in MATLABMATLAB uses Basic Linear Algebra Subprograms (BLAS) for its vector inner product

Pagina 676

Programming24-9ProgrammingMemory-MappingMemory-mapping is a mechanism that maps a portion of a file, or an entire file, on diskto a range of addresse

Pagina 677

R14SP224-10xlsread Imported Date Format ChangesIn MATLAB versions prior to R14, date values read into MATLAB from an Excelspreadsheet using xlsread we

Pagina 678

Programming24-11Compatibility ConsiderationsTo avoid this warning and prepare for this change, convert the cell array of strings to acell array of fu

Pagina 679

Data Import and Export1-15textscan and readtable Functions: Return consistent results whenreading quoted stringsAs of R2014b, using the %q format spe

Pagina 680 - Changes to accumarray

R14SP224-12x = 10;x.name = magic(3);Warning: Struct field assignment overwrites a value with class "double".In a future release of MATLAB, a

Pagina 681

Programming24-13handle.output = struct('time', 13);Function Declaration Compatibililty with Pre-R14 M-FilesAs of Release 14, the function d

Pagina 682

R14SP224-14Graphics and 3-D Visualizationimwrite Now Supports GIF ExportThe imwrite function now supports exporting image data in Graphics Interchange

Pagina 683 - MATLAB prompt:

Graphics and 3-D Visualization24-15Compatibility ConsiderationsThe figure XDisplay property is supported only on systems using Motif.

Pagina 684

R14SP224-16Creating Graphical User Interfaces (GUIs)New Callbacks ChapterThe Creating Graphical User Interfaces documentation offers a new chapter, in

Pagina 685

External Interfaces/API24-17External Interfaces/APINew File Archiving Functions and FunctionalityIn addition to being able to zip and unzip compresse

Pagina 687

R2015a1-16Compatibility ConsiderationsCode that relies on using the %q format specifier to read text enclosed in double quotationmarks might return di

Pagina 688

Data Import and Export1-17Functionality Result Use This Instead CompatibilityConsiderationsH5P.get_dxpl_multi Errors none Remove all instances ofH5P.

Pagina 689

R2015a1-18Graphicsdrawnow Function: Improve performance in animation loops with newoptiondrawnow now supports the limitrate option for limiting the nu

Pagina 690

Performance1-19PerformanceMapReduce: Run mapreduce algorithms on any computer cluster thatsupports parallel pools using MATLAB Distributed Computing

Pagina 691 - Plans for Obsolete Functions

R2015a1-20Hardware SupportIP camera: Acquire video directly from Internet Protocol camerasYou can use the MATLAB IP Camera support to bring live image

Pagina 692

Hardware Support1-21• Take photographs using a web camera• Issue Linux shell commands• Transfer files to or from your host computer• Control the onbo

Pagina 693

R2015a1-22Functionality being removed or changedFunctionality Result Use This Instead Compatibility Considerationstargetinstaller Warns supportPackage

Pagina 694 - mex yprime.c

R2014bVersion: 8.4New FeaturesBug FixesCompatibility Considerations

Pagina 695 - Compiler Support

viii ContentsNew look of MATLAB graphics with improved clarity andaesthetics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Pagina 696

R2014b2-2DesktopGit and Subversion source control system integration through CurrentFolder browser, including syncing from Web-hosted repositories suc

Pagina 697

Desktop2-3Copying and pasting variables in the Workspace browserYou now can copy and paste the contents of workspace variables in the Workspacebrowse

Pagina 698

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

Pagina 699 - Version: 7.0.4

Language and Programming2-5Language and Programmingdatetime, duration, and calendarDuration arrays for efficientcomputation, comparison, and formatte

Pagina 700

R2014b2-6• Common assignment operators such as ++, +=, and -=, and mathematical operatoridioms such as 2(x+1)• Python argument syntax and dictionary s

Pagina 701

Language and Programming2-7RPC-encoded WSDL documents are not supported. For these documents, usecreateClassFromWsdl.The following WSDL documents are

Pagina 702

R2014b2-8MATLAB errors attempting to define listener for nonobservable propertyIn previous releases, you could define a listener for a nonobservable p

Pagina 703

Language and Programming2-9LoggingPlugin or TestRunProgressPlugin, or a test runner constructed with theTestRunner.withTextOutput method.Constraint f

Pagina 704

R2014b2-10 InfCompatibility ConsiderationsChange any instances of test qualifications in which you compare an infinite expectedvalue to a finite

Pagina 705

Language and Programming2-11Functionality Result Use This Instead CompatibilityConsiderationsmatlab.unittest.TestCase constructorStill runs matlab.un

Pagina 706

ixPop-up Command History for recalling, viewing, filtering,and searching recently used commands in the CommandWindow . . . . . . . . . . . . . . . . .

Pagina 707

R2014b2-12Mathematicshistcounts function for binning numeric dataThe histcounts function sorts data into bins with data-dependent bin picking and opti

Pagina 708

Mathematics2-13round(pi,2,'significant')ans = 3.1000boundary function and alphaShape class for creating a conformingboundary around a di

Pagina 709

R2014b2-14 16 11 10 13 16 14 15 13Reverse accumulation option for the cumsum, cummin, cummax, andcumprod functionsThe 're

Pagina 710

Data Import and Export2-15Data Import and ExportFaster data import from text files using Import Tool, and readtable andtextscan functionsThe performa

Pagina 711

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

Pagina 712

Data Import and Export2-17hdftool functionality will not be removedThe R2013a Release Notes originally stated that hdftool would be removed in a futu

Pagina 713

R2014b2-18Functionality What HappensWhen You Use ThisFunctionality?Use This Instead Compatibility Considerationshdfgd Still runs http://www.mathworks.

Pagina 714 - New Callbacks Chapter

Hardware Support2-19Hardware SupportDocumentation installation with hardware support packageStarting in R2014b, each hardware support package install

Pagina 715

R2014b2-20including creating plots. You can collect data from the following sensors connected toyour Arduino hardware:• I2C• SPI• Servo MotorsThe supp

Pagina 716

Graphics2-21GraphicsMajor update of MATLAB graphics systemNew MATLAB Graphics SystemStarting in R2014b, the MATLAB graphics system is built on an imp

Commenti su questo manuale

Nessun commento