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

Pass a vector calculated by Matlab to Comsol

$
0
0

Does anyone know how to pass a vector calculated by Matlab to a variable or material property in Comsol? (except using the interpolation function or external matlab function). Just like using a simple API syntax "model.variable('var1').set('E', num2str(E0))" to pass a Matlab integer or double variable to a Comsol variable.

All the best, Songcai


Viewing all articles
Browse latest Browse all 5773

Trending Articles



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