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.

How to export 'Plot' type data with MATLAB LiveLink?

Please login with a confirmed email address before reporting spam

Hi! I am using COMSOL Livelink for MATLAB and trying to export a 'Plot' type data as .txt file with MATLAB code. I have read the manual for MATLAB livelink and found API only for data of 'Data' type or 'Animation' type. I have tried the following command and it works,

data = model.result.export.create('data', 'Plot');

However, I can't specify which plot group this export object connects with. Then I tried the following command (Inspired by API doc of Livelink for Java),

data = model.result.export.create('load_deflection_curve', 'Load-Disp Plot', 'Plot');

Sadly it doesn't work in MATLAB. The error info is as follows,


Java exception occurred: Exception:

com.comsol.util.exceptions.FlException: Unknown feature

Messages:

Unknown feature.

Tag: Load-Disp Plot


Does anyone know how I can proceed with the first command and specify the plot group? Thank you!


0 Replies Last Post 2021年7月30日 GMT+8 14:53
COMSOL Moderator

Hello John Lionel

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.

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.