MATLAB COMPILER RELEASE NOTES Guide de l'utilisateur Page 520

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 716
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 519
R2007b
19-20
98
Existing program code that relies on the colon operations of character arrays returning a
double, needs to be updated to expect a character data type.
Matrix Generating Functions No Longer Accept Complex Inputs
Calling matrix generating functions, such as ones, zeros, rand, randn, true, and
false, with a complex number as dimensions input now returns the error:
true([1 i])
??? Error using ==> true
Size vector must be a row vector with real elements.
Compatibility Considerations
In previous releases, if you supplied a complex number as a dimension input, MATLAB
software returned:
true([1 i])
Warning: Size vector should be a row vector with integer elements.
Complex inputs will cause an error in a future release.
ans =
Empty matrix: 1-by-0
Existing program code that relies on entering complex numbers as dimension input to a
matrix generating function should be modified.
Vue de la page 519
1 2 ... 515 516 517 518 519 520 521 522 523 524 525 ... 715 716

Commentaires sur ces manuels

Pas de commentaire