MATLAB COMPILER RELEASE NOTES Guía de usuario Pagina 310

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 716
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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.
Vista de pagina 309
1 2 ... 305 306 307 308 309 310 311 312 313 314 315 ... 715 716

Comentarios a estos manuales

Sin comentarios