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.

Exporting a geometry file (parasolid_binary) using MATLAB Livelink

Please login with a confirmed email address before reporting spam

Hello,

I would like to export a geometry from COMSOL in parasolid_binary using MATLAB live link ?

You can easily do this from COMSOL desktop, however, I could not do it using the Live link.

Please, provide me the syntax

Thank you in advance

5 Replies Last Post 28 ott 2016, 03:36 GMT-4
COMSOL Moderator

Hello Mohamed Zanaty

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.


Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 11 nov 2014, 23:34 GMT-5
Hello ,I need too, Could you find this solution? Pleas tell me

Thanks


Hello,

I would like to export a geometry from COMSOL in parasolid_binary using MATLAB live link ?

You can easily do this from COMSOL desktop, however, I could not do it using the Live link.

Please, provide me the syntax

Thank you in advance


Hello ,I need too, Could you find this solution? Pleas tell me Thanks [QUOTE] Hello, I would like to export a geometry from COMSOL in parasolid_binary using MATLAB live link ? You can easily do this from COMSOL desktop, however, I could not do it using the Live link. Please, provide me the syntax Thank you in advance [/QUOTE]

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 12 nov 2014, 03:10 GMT-5
yes, you can export your geometry using MATLAB livelink through the following syntax:
model.geom('geom1').export('geomfile.x_b')

BR
Mohamed
yes, you can export your geometry using MATLAB livelink through the following syntax: model.geom('geom1').export('geomfile.x_b') BR Mohamed

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 20 ott 2016, 10:40 GMT-4
It does not work on COMSOL 5.1 and MATLAB 2013. Any other suggestions?

Gaetano
It does not work on COMSOL 5.1 and MATLAB 2013. Any other suggestions? Gaetano

Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 20 ott 2016, 15:36 GMT-4
Reading and writing of Parasolid files requires the CAD Import Module, the Design Module or the LiveLink for CAD products (See www.comsol.com/products/specifications/cad/). Your license may not include these products. You can check which products are included on your license by going to File>Licensed and Used Products.
Best regards,
Jeff
Reading and writing of Parasolid files requires the CAD Import Module, the Design Module or the LiveLink for CAD products (See https://www.comsol.com/products/specifications/cad/). Your license may not include these products. You can check which products are included on your license by going to File>Licensed and Used Products. Best regards, Jeff

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 28 ott 2016, 03:36 GMT-4
Hey Jeff,

Thank you for your suggestion. But University license has that package.
I have fixed the problem. It was directory problem. Comsol script helps me a lot.

Best Regards

Gaetano Formato
Hey Jeff, Thank you for your suggestion. But University license has that package. I have fixed the problem. It was directory problem. Comsol script helps me a lot. Best Regards Gaetano Formato

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.