Class handling .cif formatted files
Matlab class handling .cif data. It simply reads a .cif file into a Matlab class making accessible all fields stored in the .cif fil. Access to any field of the .cif file is possible simply using the Matlab .(dot) notation.
Example:
MyCifFile = cif('file.cif');
lattice_par = [MyCifFile.cell_length_a MyCifFile.cell_length_b MyCifFile.cell_length_c];
The above example extracts the lattice parameters from a .cif file.
For the .cif file format specification see:
http://www.iucr.org/resources/cif
引用格式
Sandor Toth (2024). Class handling .cif formatted files (https://www.mathworks.com/matlabcentral/fileexchange/43266-class-handling-cif-formatted-files), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!