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