Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 428

How to debug MATLAB function (COMSOL 4)

$
0
0
I am able to declare MATLAB function in comsol.

When I run comsol, it gives me error "Incorrect size of returned vector. 596 elements were expected, but the returned matrix was 1 x 1"

The error is OK because my function returns only 1 number, because I am trying to debug it and look on parameters passed by COMSOL. I opened function in MATLAB editor and put breakpoint on it. But it never stops on breakpoint.

In COMSOL 3.5 this works (put breakpoint in MATLAB function).

Is there possibility to trace MATLAB functions?

Viewing all articles
Browse latest Browse all 428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>