% 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:
% USAGE: IV = IVread(file)
% file .iv-file location
% 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.
Richard Bieck (2023). IVread.m (https://www.mathworks.com/matlabcentral/fileexchange/46781-ivread-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!