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.

Possible to use load -mat arrayX?

Please login with a confirmed email address before reporting spam

Hi,

I am running an m-file using matlabR2008a and comsol 3.5a. Is it possible to load a mat file into
comsol?

What I did is :
load -mat arrayX;

But I get a message like:
Error: 9040
Fatal error.
-Type:NullPointerException

Details:
Exception:
java.lang.NullPointerException
(rethrown as com.femlab.util.FlFatalException)
Messages:
Fatal error.
- Type: NullPointerException

Stack trace:
at com.femlab.gui.Femlab.a(Unknown Source)
at com.femlab.gui.Femlab.c(Unknown Source)
at com.femlab.gui.Femlab.b(Unknown Source)
at com.femlab.gui.al.a(Unknown Source)
at com.femlab.gui.FlProgressThread.run(Unknown Source)
at com.femlab.util.i.run(Unknown Source)
at com.femlab.util.aa.run(Unknown Source)


Anybody knows what's going on?

Many thanks!!
Quan

1 Reply Last Post 13 dic 2010, 11:37 GMT-5

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 13 dic 2010, 11:37 GMT-5
OK. seems the
save arrayX arrayX;
does not give arrayX.mat in octave...
OK. seems the save arrayX arrayX; does not give arrayX.mat in octave...

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.