Dear All,
I want to use a MATLAB function in COMSOL 4.4, my function is a simple example like:
function out=myfunc(x)
out=x;
However, when I define a MATLAB fuction in COMSOL with name 'myfunc' and argument 'x' and I try to test the function by giving plot parameters from e.g. 1 to 100 , I get the following error:
Index exceeds matrix dimensions
- Function: myfunc
..
Can anybody help me to solve this problem?
Bests,
I want to use a MATLAB function in COMSOL 4.4, my function is a simple example like:
function out=myfunc(x)
out=x;
However, when I define a MATLAB fuction in COMSOL with name 'myfunc' and argument 'x' and I try to test the function by giving plot parameters from e.g. 1 to 100 , I get the following error:
Index exceeds matrix dimensions
- Function: myfunc
..
Can anybody help me to solve this problem?
Bests,