MATLAB COMPILER RELEASE NOTES Guida Utente Pagina 279

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 716
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 278
Programming
9-17
Growing Arrays Is Faster
This release improves the performance of growing an array in the trailing dimension if
that array has not been preallocated.
Error Checking Improved
MATLAB provides more effective error checking and returns new error messages in the
following cases.
Nonstatic Method
A reference to a class method using the class name is valid only in cases where the
method is static. Therefore, code of the form:
ClassName.ordinaryMethod
Where ordinaryMethod is not a static method of the class ClassName, previously
returned the error: MATLAB:class:InvalidStaticMethod.
This code now returns the error:
MATLAB:subscripting:classHasNoPropertyOrMethod
Nonexistent Method Name
A reference to a nonexistent method name:
obj.badName
Where badName is not a method defined by the class of obj, previously returned the
error: MATLAB:noSuchMethodOrField.
This code now returns the error:
MATLAB:subscripting:classHasNoPropertyOrMethod.
Compatibility Considerations
Code that checks for the specific errors previously returned must be updated to check for
the new errors.
Vedere la pagina 278
1 2 ... 274 275 276 277 278 279 280 281 282 283 284 ... 715 716

Commenti su questo manuale

Nessun commento