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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 716
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 309
R2010b
12-18
that the property was missing. In this case, MATLAB did not build a struct to pass to
loadobj. MATLAB now returns a struct in this case.
Compatibility Considerations
If you rely on the following situation not returning a struct to loadobj, you need to
update your code:
You saved an object using the save command
This object had a property that was set to the default value defined by the class at the
time of saving
he property set to its default value at save time is subsequently removed from the
class definition
You load the property and expect the load operation to return an object (it should
return a struct because the class definition has changed in a way the load cannot
create the object).
Your loadobj method is not prepared to use the returned struct to create an object
You must implement a loadobj method to recreate the object using the current class
definition.
See Saving and Loading Objects for more information.
Przeglądanie stron 309
1 2 ... 305 306 307 308 309 310 311 312 313 314 315 ... 715 716

Komentarze do niniejszej Instrukcji

Brak uwag