Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
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.
Problem "To extract COMSOL data "
Posted Apr 10, 2013, 4:58 p.m. EDT Interfacing, Results & Visualization Version 4.3, Version 4.3a 1 Reply
Please login with a confirmed email address before reporting spam
Hi
I try to follow all the steps that is mentioned in the LIVELINK FOR MATLAB USER GUIDE
"Start to load the model busbar from the COMSOL model library, enter the command:
model = mphload('busbar');
To extract the temperature and the electric potential field, use the command mpheval
as below:
dat = mpheval(model, {'T' 'V'}, 'selection', 1);
To display the temperature field enter:
mphplot(dat, 'index', 1); "
but I obtain the following error .......
??? Error: File: mphplot.p Line: 2063 Column: 0 Expression or statement is incomplete or incorrect.
I do not understand why?
I appreciate any help !!
I try to follow all the steps that is mentioned in the LIVELINK FOR MATLAB USER GUIDE
"Start to load the model busbar from the COMSOL model library, enter the command:
model = mphload('busbar');
To extract the temperature and the electric potential field, use the command mpheval
as below:
dat = mpheval(model, {'T' 'V'}, 'selection', 1);
To display the temperature field enter:
mphplot(dat, 'index', 1); "
but I obtain the following error .......
??? Error: File: mphplot.p Line: 2063 Column: 0 Expression or statement is incomplete or incorrect.
I do not understand why?
I appreciate any help !!
1 Reply Last Post Apr 11, 2013, 5:42 p.m. EDT