-
Notifications
You must be signed in to change notification settings - Fork 56
ManualAdvancedRemovingObjects
Garrett McGrath edited this page Nov 30, 2015
·
1 revision
There are two ways in which you can remove objects:
- Remove_mat.m will set the object's mat to empty. Since this is where each object's main matrix is stored, this is probably taking up most of the room occupied by the object. This is usually sufficient, and has the advantage that it leaves the surrounding name and header information intact, in case other objects want to reference it, and doesn't renumber the cells.
- If you really want to, you can remove the entire cell for the object, by passing in 'erase' as the optional argument to remove_object.m.
Since patterns tend to be the biggest memory hogs, you can also just transparently shift the _pattern_ to the hard disk, which frees up your RAM without throwing away data that might be useful later on. See Advanced / memory for more solutions.
- Welcome Page
- Toolbox Setup
- EBC Competition
- Tutorials
- Manual
- Contact Details
- Glossary
- MVPA Associated Publications
- List of pages by title