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.

Uploading to MATLAB

Please login with a confirmed email address before reporting spam

Hi,

This is probably a very basic question, but I would like to try working with the livelink to MATLAB and was following the instructions for how to load my model into MATLAB but MATLAB does not seem to recognize the file. I used the format:

model = mphload('file name')

which I believe is the correct form, but I keep getting the following error:

Error using mphload (line 88)
The file "simple richards plus thermal.mph" could not be found

Is is possible my .mph files are saved in a location that MATLAB can't or won't access? Is there a particular way I should be saving all my models?

Thanks,
Shoshana

0 Replies Last Post 2014年4月9日 GMT-4 05:54
COMSOL Moderator

Hello Shoshana Spellman

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.