MATLAB COMPILER RELEASE NOTES Guida Utente Pagina 310

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 716
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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.
Vedere la pagina 309
1 2 ... 305 306 307 308 309 310 311 312 313 314 315 ... 715 716

Commenti su questo manuale

Nessun commento