File Exchange

image thumbnail

IVread.m

version 1.0.0.0 (6.65 KB) by Richard Bieck
Load surface data from .iv-files (OpenInventor)

4 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 (2020). IVread.m (https://www.mathworks.com/matlabcentral/fileexchange/46781-ivread-m), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Michala

Hi, it would be nice if you could include one example *.iv file to see at once what is the code doing. It is not loading our iv file.

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux