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

how to export the time steps taken by the solver to MATLAB?

$
0
0

I'm using the COMSOL LiveLink with MATLAB. When I solve time dependent problems and I let the solver choose the time steps (i.e. I only specify the start and end time), I can retrieve the solution in MATLAB by using the commands 'data = mpheval(model,'u1');'. However, the returned matlab structure 'data' does not contain the time steps unless I already specify the time steps in the solver beforehand.

My question is: if I do not specify the time steps, how do I know the time steps taken by the solver?


Viewing all articles
Browse latest Browse all 5773

Trending Articles



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