MATLAB COMPILER RELEASE NOTES Podręcznik Użytkownika Strona 520

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 716
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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.
Przeglądanie stron 519
1 2 ... 515 516 517 518 519 520 521 522 523 524 525 ... 715 716

Komentarze do niniejszej Instrukcji

Brak uwag