Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Error while using Matlab LiveLink
Posted Mar 28, 2016, 6:37 a.m. EDT Interfacing, Geometry Version 5.1 2 Replies
Please login with a confirmed email address before reporting spam
I'm facing a problem while using Matlab LiveLink.
--------------------------------------------------------------------------
geom1 = model.geom.create('geom1', 2);
c1 = geom1.create('c1', 'Circle');
c1.label('c1')
c1.set('r', '40');
c2 = geom1.create('c2', 'Circle');
c2.label('c2');
c2.set('r', '20');
dif1 = geom1.create('dif1', 'Difference');
dif1.selection('input').set(c1.label);
dif1.selction('input2').set(c2.label);
--------------------------------------------------------------------------
The code above gave the following error.
--------------------------------------------------------------------------
No method 'set' with matching signature found for class 'com.comsol.clientapi.impl.LocalGeomObjectSelectionClient'.
Error in
dif1.selection('input').set(c1.label);
--------------------------------------------------------------------------
Could anyone explain why this is happening?
--------------------------------------------------------------------------
geom1 = model.geom.create('geom1', 2);
c1 = geom1.create('c1', 'Circle');
c1.label('c1')
c1.set('r', '40');
c2 = geom1.create('c2', 'Circle');
c2.label('c2');
c2.set('r', '20');
dif1 = geom1.create('dif1', 'Difference');
dif1.selection('input').set(c1.label);
dif1.selction('input2').set(c2.label);
--------------------------------------------------------------------------
The code above gave the following error.
--------------------------------------------------------------------------
No method 'set' with matching signature found for class 'com.comsol.clientapi.impl.LocalGeomObjectSelectionClient'.
Error in
dif1.selection('input').set(c1.label);
--------------------------------------------------------------------------
Could anyone explain why this is happening?
2 Replies Last Post Apr 18, 2016, 4:01 a.m. EDT