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?
Posted 30 lug 2021, 02:53 GMT-4 LiveLink for MATLAB, API Version 5.5 0 Replies
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!
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.