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.
Error when using Livelink for Matlab
Posted Jun 20, 2016, 11:03 a.m. EDT LiveLink for MATLAB Version 5.2, Version 5.2a 2 Replies
Please login with a confirmed email address before reporting spam
Hi
I need to call a Matlab function and it works fine if i try it in the simple Matlab Command Window, but when i run the simulation and try to pass probe values to the function (I use it as objective function in the optimisation module) there is an error message: "Error in sweep. Error. Unbalanced or unexpected paranthesis or bracket."
I think it is very strange because the function works in Matlab and in the Matlab command window that Comsol opens up.
Br Rasmus
I need to call a Matlab function and it works fine if i try it in the simple Matlab Command Window, but when i run the simulation and try to pass probe values to the function (I use it as objective function in the optimisation module) there is an error message: "Error in sweep. Error. Unbalanced or unexpected paranthesis or bracket."
I think it is very strange because the function works in Matlab and in the Matlab command window that Comsol opens up.
Br Rasmus
2 Replies Last Post Jun 21, 2016, 5:39 a.m. EDT