load OOMMF .ovf file to matlab

The function imports vector file (.ovf) from micromagnetic simulation output (OOMMF, mumax3 or Boris) into Matlab arrays

You are now following this Submission

The file is inspired by N. Khokhlov and his function omf2matlab.m
https://ww2.mathworks.cn/matlabcentral/fileexchange/129674-load-oommf-file-to-matlab-array
https://math.nist.gov/oommf/doc/userguide20b0/userguidexml/sec_ovfdatablock.html
ChatGPT was used also.
Work with mumax3.
The main modification: Oommf vector files must be writen with the default "binary 4" option.
And the type of grid must be rectangular.

Cite As

CJ Wang (2026). load OOMMF .ovf file to matlab (https://in.mathworks.com/matlabcentral/fileexchange/163101-load-oommf-ovf-file-to-matlab), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Load OOMMF file to Matlab array

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.1

Specify file encoding

1.0.0