How do you read iges files in matlab?

32 views (last 30 days)
Mike AA
Mike AA on 10 Mar 2022
Edited: Mike AA on 10 Mar 2022
close all;clear all; clc
% example.m plots an IGES CAD-object
% Compile the c-files
makeIGESmex;
% Load parameter data from IGES-file.
[ParameterData,EntityType,numEntityType,unknownEntityType,numunknownEntityType]=iges2matlab('IGESfiles/60.igs');
% Plot the IGES object
plotIGES(ParameterData,1);
I get the following error:
Undefined function or variable 'makeIGESmex'.
Error in iges2matlabexample (line 5)
makeIGESmex;
I saved the igesToolbox.mltbx file to the current directory, so that can't be the issue.
VR2014a
  1 Comment
Mike AA
Mike AA on 10 Mar 2022
Edited: Mike AA on 10 Mar 2022
Whoops, forgot to install the toolbox.

Sign in to comment.

Answers (0)

Categories

Find more on Install Products in Help Center and File Exchange

Products


Release

R2014a

Community Treasure Hunt

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

Start Hunting!