MATLAB COMPILER RELEASE NOTES Uživatelská příručka Strana 279

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 716
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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.
Zobrazit stránku 278
1 2 ... 274 275 276 277 278 279 280 281 282 283 284 ... 715 716

Komentáře k této Příručce

Žádné komentáře