structobj

Wrapper for the built-in MATLAB struct data structure
58 descargas
Actualizado 13 abr 2017

This is a class that simply wraps the functionality of the built-in struct datatype, but adds a number of useful features. The most notable feature, is that a structobj is a handle class and is therefore passed by reference to other functions. This allows you to essentially modify the structure in-place.
Instances of this class behave so similarly to the built-in datatype that they can often be fed as inputs to functions that expect structures as inputs.
Additional functionality:
* "Updated" event for when underlying data is changed
* Conversion back to standard structs
* Easily merge structobj instances or structures
* Compatibility with all standard struct functionality (isfield, setfield, getfield, dynamic fieldnames, concatenation, orderfields, fieldnames, tab completion, etc.)

Citar como

Jonathan Suever (2024). structobj (https://github.com/suever/structobj), GitHub. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2008a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Structures en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

No se pueden descargar versiones que utilicen la rama predeterminada de GitHub

Versión Publicado Notas de la versión
1.0.0.0

Fixes small bug in getfield
Changed project name

Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.