Error in using MNPBEM toolbox
Mostrar comentarios más antiguos
When I am using MNPBEM toolbox by UNI GRAZ, and running the samples, errors always come as "Too many outputs requested. Most likely cause is missing [] around left hand side that has a comma separated list expansion." Is there anyone who can help? Thanks!
3 comentarios
Walter Roberson
el 23 de Mzo. de 2016
Please show the complete error message.
Nurjannah AM
el 7 de Feb. de 2020
Same as me too,
Index exceeds matrix dimensions.
Error in compound/dielectric>@(eps)(eps(enei)) (line 13)
eps = cellfun( @( eps ) ( eps( enei ) ), obj.eps, 'UniformOutput', false );
Error in compound/dielectric (line 13)
eps = cellfun( @( eps ) ( eps( enei ) ), obj.eps, 'UniformOutput', false );
Error in compound/subsref (line 36)
varargout{ 1 } = expand( obj, dielectric( obj, s( 2 ).subs{ 1 }, 1 ) );
Error in comparticle/subsref (line 18)
[ varargout{ 1 : nargout } ] = subsref@compound( obj, s );
Error in bemstat/subsref (line 31)
eps1 = obj.p.eps1( enei );
Error in \ (line 12)
obj = subsref( obj, substruct( '()', { exc.enei } ) );
Error in Demo6 (line 38)
sig = bem \ exc(p, enei);
>>
Walter Roberson
el 7 de Feb. de 2020
Whatever enei is, the object exc is not as large as that in some respect.
This is not related to the original question about too many output arguments.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Assumptions en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!