Al momento, stai seguendo questo contributo
- Vedrai gli aggiornamenti nel tuo feed del contenuto seguito
- Potresti ricevere delle email a seconda delle tue preferenze per le comunicazioni
Utility that converts patch objects (or a comma-separated list of patch property/value pairs) into an equivalent structure that encodes all the patch object's properties. Useful for storage of 3D models, especially for animation in Matlab. Also includes a companion function 'struct2patch' which converts the structure back into a patch object.
Note: The command 'get(h)' also produces a structure containing patch settings if 'h' is a handle to an existing patch object, but the conversion to/from structures and patch objects is non-trivial due to the presence of read-only properties and the different ways Matlab's patch command affects the underlying properties based on user input.
Cita come
Adrian Abordo (2026). patch2struct and struct2patch converter (https://it.mathworks.com/matlabcentral/fileexchange/19862-patch2struct-and-struct2patch-converter), MATLAB Central File Exchange. Recuperato .
Informazioni generali
- Versione 1.0.0.0 (4,24 KB)
Compatibilità della release di MATLAB
- Compatibile con qualsiasi release
Compatibilità della piattaforma
- Windows
- macOS
- Linux
| Versione | Pubblicato | Note della release | Action |
|---|---|---|---|
| 1.0.0.0 | Documentation update. |