-
Filter by Topic
Most Popular
All Topics
- List all discussions
comsol script compatibility 32 toward 64 Bits
|
Thread index | Previous thread | Next thread | Start a new discussion |
June 24, 2010 12:26pm UTC
comsol script compatibility 32 toward 64 Bits
a file (comsol with matlab with a graphical interface ) running perfectly in 32 bits yield the following error message
??? Error using ==> flgetsparse
Function "mxGetIr_700" is obsolete in file ".\compat32.cpp", line 264.
(64-bit mex files using sparse matrices must be rebuilt with the "-largeArrayDims" option.
See the R2006b release notes for more details.)
do i have to recompile the matlab file code source C with the mex function and a compiler ?
especially, which files where?
since i have the last version of matlab (R2010a) i believe that the 64 bits represention of array was activated by deffaut, do i have to change some stuff in my m file only?
thank you for any help from peoples who have already encountered this problem
Reply | Reply with Quote | Send private message | Report Abuse
November 24, 2010 2:24pm UTC in response to Marc Jouan
Re: comsol script compatibility 32 toward 64 Bits
Does anyone have a solution for this?
I have the same problem when applying the assemble() function. It worked well with Matlab R2008a (64-bit), but not with R2010a.
Reply | Reply with Quote | Send private message | Report Abuse
November 24, 2010 2:59pm UTC in response to Matthias Weber
Re: comsol script compatibility 32 toward 64 Bits
Hi
I would say that is worth to report directly to support too.
--
Good luck
Ivar
Reply | Reply with Quote | Send private message | Report Abuse
December 13, 2010 6:36pm UTC in response to Ivar Kjelberg
Re: comsol script compatibility 32 toward 64 Bits
Anything new on this, because I can't figure this out? I am trying to export comsol model to simulink without success with Comsol 3.5a and Matlab 2010b.
BG,
Jyri
Reply | Reply with Quote | Send private message | Report Abuse
December 20, 2010 7:31pm UTC in response to Jyri Juhala
Re: comsol script compatibility 32 toward 64 Bits
I have the same problem.
I am using Matlab R2010b 64bit and Comsol 3.5a 64bit on Win7 64bit.
The script was written and executed using Matlab R2009b 32bit with Comsol 3.5a 32bit on WinXP 32bit.
It appears to me at a first glance that there is some MEX-files in Comsol that use coding incompatible to large array handling with 64bit. Therefore, the used MEX-files would need to be updated in order to work properly with 64bit.
Source: http://www.mathworks.com/support/solutions/en/data/1-5C27B9/?solution=1-5C27B9
So I have the impression that I need to fix files of the 64bit Comsol installation to make it work with 64bit and matlab. Shouldn't the people that get paid for the product fix it?
Best regards
Daniel
Reply | Reply with Quote | Send private message | Report Abuse
December 21, 2010 7:30am UTC in response to Daniel Krebs
Re: comsol script compatibility 32 toward 64 Bits
Hi
are you sure v3.5a was made compatible with a matlab 2010b ?
I would have expecteds a 2007 or 2008 at most, matlab has changed quite alot the last years too
--
Good luck
Ivar
Reply | Reply with Quote | Send private message | Report Abuse
December 21, 2010 3:20pm UTC in response to Ivar Kjelberg
Re: comsol script compatibility 32 toward 64 Bits
Hi Ivar
There is a hotfix for Comsol 3.5a to support MATLAB 2008b or 2009a:
http://www.comsol.com/support/updates/comsol35a1/
In order to use Comsol 3.5a with MATLAB 2009b or 2010a an additional patch is necessary:
http://www.comsol.com/support/updates/comsol35a3/
However, for me it solved the problem to downgrade from MATLAB 2010b (64bit) to MATLAB 2009b (64bit) without having the hotfix or the patch installed.
Best
Daniel
Reply | Reply with Quote | Send private message | Report Abuse
December 20, 2011 4:09pm UTC in response to Daniel Krebs
Re: comsol script compatibility 32 toward 64 Bits
I installed the hot fix and the patch for 2010b (64bit) and it works
Reply | Reply with Quote | Send private message | Report Abuse
January 10, 2012 9:52pm UTC in response to Moges Ashagrie Retta
Re: comsol script compatibility 32 toward 64 Bits
I used the 64 bit win 7, 64 bit comsol 3.5a, 64 bit 2010a matlab,
I have the same problem
Reply | Reply with Quote | Send private message | Report Abuse
Rules and guidelines

