Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: integrate 'info' variable into compressed output #6

Closed
street-grease-coder opened this issue Jun 15, 2021 · 1 comment

Comments

@street-grease-coder
Copy link

Just an idea, but I used the CompressLib (https://mathworks.com/matlabcentral/fileexchange/25656-compression-routines) to append the 'info' variable to the main output, because then it's a bit easier to store a single file on disk.

Workflow is along the lines of: load/generate data => compress in MATLAB using zmat => save to disk (as uint8) => load from disk directly into ram => decompress

Thanks for the work

@fangq
Copy link
Member

fangq commented Jul 22, 2023

if you prefer to store info along side with your compressed buffer, you can create a struct or cell array to combine the outputs into a single variable after calling zmat. I don't see a benefit for zmat to merge the output itself.

closing for now.

@fangq fangq closed this as completed Jul 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants