save

save workspace variables to .nh5 or .mat file

📝 Syntax

  • save(filename)

  • save(filename, version, var1, ..., varN)

  • save(filename, '-append', ...)

  • save(filename, '-mat', ...)

  • save(filename, '-nh5', ...)

  • save(filename, '-nocompression', ...)

📥 Input argument

  • filename - a string: .nh5 or .mat filename. extension defines format used .mat or .nh5 (default)

  • var1, ..., varN - string: Names of variables to save from Nelson's workspace.

  • version: '-v7.3', '-v7', '-v6', '-v4' - mat file version used ('-v7.3'). This option will force '-mat'.

  • '-mat' - forces to save as mat file (default '-nh5').

  • '-nh5' - forces to save as nh5 file (default '-nh5').

  • '-append' - append variables to an existing .nh5/.mat file (-v7.3 only).

  • '-nocompression' - disable .nh5/.mat file compression.

📄 Description

save save workspace variables to .nh5 or .mat file.

💡 Examples

append variables

compression

🔗 See also

load, savenh5, savemat.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?