MATLAB COMPILER RELEASE NOTES Guida Utente Pagina 202

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 716
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 201
R2012b
6-12
Function Recommended Modification
strread Replace all existing instances of strread with
textscan. For example, replace
[a,b,c] = strread(...) with
C = textscan(...)
[a,b,c] = deal(C{:})
Unlike strread, the textscan function
converts numeric values to the specified data
type, allowing preservation of integer types.
strvcat Replace all existing instances of strvcat with
char. Unlike strvcat, the char function does
not ignore empty strings.
textread Replace all existing instances of textread
with textscan, similar to strread. Open and
close files with fopen and fclose.
Conversion of Error and Warning Message Identifiers
For R2012b, error and warning message identifiers have changed in MATLAB.
Compatibility Considerations
If you have scripts or functions that use message identifiers that changed, you must
update the code to use the new identifiers. Typically, message identifiers are used to turn
off specific warning messages, or in code that uses a try/catch statement and performs an
action based on a specific error identifier.
For example, the MATLAB:uitable:InvalidParent identifier has changed
to MATLAB:uitable:ParentMustBeFigureOrUIContainer. If your code
checks for MATLAB:uitable:InvalidParent, you must update it to check for
MATLAB:uitable:ParentMustBeFigureOrUIContainer instead. For a mapping of
the new identifiers to the original identifiers, see Technical Support solution 1-ERAFNC.
Vedere la pagina 201
1 2 ... 197 198 199 200 201 202 203 204 205 206 207 ... 715 716

Commenti su questo manuale

Nessun commento