Getting array size error when using plotIGESentity?

1 次查看(过去 30 天)
I'm using the function plotIGESentity from IGES toolbox as follow.
for i=1:length(ParameterData);
plotIGESentity(ParameterData,i);
view(60,42)
grid on
end
It used to work fine before I compile the C files and run the makeIGESmex. but now when i run it with the same IGES file I get the following error!!!
Error using nrbSrfRegularEvalIGES
Requested 12884903802x480 (23040.0GB) array exceeds maximum array size preference. Creation of arrays greater than
this limit may take a long time
and cause MATLAB to become unresponsive. See array size limit or preference panel for more information.
Error in retSrfCrvPnt (line 54)
[P,UV,TRI]=nrbSrfRegularEvalIGES(ParameterData{ind}.nurbs,ParameterData{ind}.u(1),ParameterData{ind}.u(2),nu,ParameterD
ata{ind}.v(1),ParameterData{ind}.v(2),nv);
Error in plotIGESentity (line 137)
[P,isSCP,isSup,TRI]=retSrfCrvPnt(1,ParameterData,0,i,subd);
And when i run the code one another PC it works fine !!!
Any help is appreciated

采纳的回答

Walter Roberson
Walter Roberson 2017-9-19
Is the parameter data being extracted from the command line? If so then remember that for compiled executables the command line information is always received as strings.
Interactive MATLAB:
plot4me(1, 2,3)
plot4me receives numeric 1, 2, and 3
Compiled, command line:
plot4me 1, 2,3
plot4me receives '1,' and '2,3'
  10 个评论
Faez Alkadi
Faez Alkadi 2017-9-22
sorry,
I'm a beginner Matlab user and don't know how to put in debugging statements.
can you help with that ?
Thanks
Walter Roberson
Walter Roberson 2017-9-22
Put in fprintf() or disp() statements or msgbox() calls.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by