Undefined function or variable 'nrbevalIGES'.

조회 수: 13 (최근 30일)
Fardad Serry
Fardad Serry 2019년 12월 3일
댓글: Fardad Serry 2019년 12월 3일
Greetings.
I keep failing to convert (several different) *.igs files (from different sources on grabcad.org) to matlab format, always getting this error:
Undefined function or variable 'nrbevalIGES'.
I get this error when I run the iges2matlab function:
iges2matlab('function_name.igs')
and when I run this line of code from the IGES toolbox
[ParameterData,EntityType,numEntityType,unknownEntityType]=iges2matlab('example.igs')
Does anyone know the (possible) source of my problem and/or a solution to it?
Many thanks in advance,
Fardad
  댓글 수: 2
Walter Roberson
Walter Roberson 2019년 12월 3일
https://www.mathworks.com/matlabcentral/fileexchange/70461-iges2matlab has an updated version of the function it appears
Fardad Serry
Fardad Serry 2019년 12월 3일
Thank you Walter. I saw that other posting about the compiler. I am working on that as well. Thanks again.
Fardad

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2019년 12월 3일
Look in the comments on the submission:
deng deng helpfully added:
===Undefined function or variable 'nrbevalIGES'
===I GOT THE SOLUTION.
===if you wanna use this toolbox, first set is to compile C file in the toolbox
===and the author set "makeIGESmex.m" to finish the compiling
===but if you open this file, you will find "try" structure, which means that even though the compile fails, there won't be errors.
===so you need to run mex('xxx.c'), and see what would happen
===for me, MinGW-w64 C/C++ is needed, so after intalled this compiler, everything was ok
hopefully it could help you guys

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by