IVread.m

Load surface data from .iv-files (OpenInventor)
270 Downloads
Updated 28 May 2014

View License

% Loads OpenInventor surfaces files
%
% Loads an .iv-file into the Matlab workspace. Code treats .iv-file nodes
% and corresponding fields & values as structure arrays with field and value information.
% Node and data hierarchy is achieved by structured array nesting. Field information can
% be accessed by using nested structure syntax:
%
% structName(index).nestedStructName(index).fieldName(indices)
%
%
% USAGE: IV = IVread(file)
%
% INPUT:
% file .iv-file location
%
%
% Info
% For further information on structure usage visit: http://www.mathworks.de/de/help/matlab/ref/struct.html
%
% Copyright (c) 2014, Richard Bieck, University Rostock
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

For my master's thesis i needed to work with surface data both in OpenInventor and Matlab and importing .iv-files was always time consuming. Since i didn't find any functions for .iv import up to now i will just share this. If anyone has information regarding a functioning version with better performance please contact me or post a link in the comments. This is my first submitted work here so i appreciate any comments on improving coding and perfomance.

Please note that this function only supports .iv-files around version 2.1. The information for larger field value data is not supported for now but will be added later. If it is required i will update the version sooner.

Cite As

Richard Bieck (2024). IVread.m (https://www.mathworks.com/matlabcentral/fileexchange/46781-ivread-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Geology in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0