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.
COMSOL with MatLab
Posted 24 ott 2017, 02:35 GMT-4 2 Replies
Please login with a confirmed email address before reporting spam
Hello, Iam using Comsol 4.3b software and Comsol with Matlab 4.3 b software
how to set the path file in matlab with comsol to export the data?
data1 = model.result.export.create('data1', 'Data'); data1.setIndex('expr', 'T', 0); data1.set('filename','filepath\Temperature.txt'); data1.run;
mphsave(model,'<path>/busbar');
how to set the filename and file path in the coding to export the data and how to set the path in the coding??
if i set any file name and file path I couldn't view the file in the comsol software. It is showing me,
"COMSOL MULTIPHYSICS MODEL FILE IS DAMAGED OR INVALID"
whenever i run the matlab program, it is showing me the error as;
Error using busb (line 168) Java exception occurred: Exception: com.comsol.util.exceptions.UnknownEntityException: Unknown property Messages: Unknown property - Property: busb
Stack trace:
at com.comsol.model.internal.impl.PropFeatureImpl.getPropValue(Unknown Source)
at com.comsol.model.internal.impl.PropFeatureImpl.c(Unknown Source)
at com.comsol.model.internal.impl.PropFeatureImpl$22.a(Unknown Source)
at com.comsol.model.internal.impl.PropFeatureImpl$22.execute(Unknown Source)
at com.comsol.model.clientserver.ClientManagerImpl$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
how to solve it?..