savemat

save workspace variables to .mat file

📝 Syntax

  • savemat(filename)

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

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

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

📥 Input argument

  • filename - a string: .nh5 filename.

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

  • '-v7.3' - default mat file used.

  • '-v7' - mat file version 7 used as output format.

  • '-v6', '-v4' - mat file version 6 or 4 used as output format.

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

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

📄 Description

savemat save workspace variables to .mat file.

Nelson's data types are converted into the Mat file equivalents.

📚 Bibliography

Thanks to MATIO library (http://sourceforge.net/projects/matio/).

💡 Examples

append variables

compression

🔗 See also

loadmat, save, savenh5.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?