MATLAB COMPILER RELEASE NOTES Guide de l'utilisateur Page 310

  • 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 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.
Vue de la page 309
1 2 ... 305 306 307 308 309 310 311 312 313 314 315 ... 715 716

Commentaires sur ces manuels

Pas de commentaire