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.
COMSOL with MATLAB crashing with trapezoidal integration
Posted 12 mar 2012, 13:46 GMT-4 Interfacing Version 3.5a, Version 4.2a 1 Reply
Please login with a confirmed email address before reporting spam
My LiveLink for Matlab for COMSOL 4.2a, with Matlab R2011b works fine. I have a script in Matlab that works perfectly fine in Matlab alone and Matlab with COMSOL. This script doesn't contain any COMSOL function . I'm on a Mac with OS X 10.6.8.
The problem is that when I run COMSOL with Matlab with 3.5a compatibility, Matlab crashes when executing this simple code:
X = sort(rand(1,101)*pi);
Y = sin(X);
Z = trapz(X,Y);
I need this to work first before I can run other program with COMSOL 3.5a functions. I tried repairing the LiveLink for Matlab with the 4.2a installation DVD, with no luck.
I'll greatly appreciate your help on this
Jose
Hello Jose Martinez-Quijada
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.