Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
How to assign data matrix to variable
Posted 30 mar 2016, 11:17 GMT-4 Modeling Tools & Definitions, Parameters, Variables, & Functions Version 5.1 1 Reply
Please login with a confirmed email address before reporting spam
Hi everyone,
I have been stuck in this problem for a long time and really need a help!
I assume I have file .txt containning data in 2 columns.
I am wondering that Is it possible in Comsol to import file .txt into Comsol and assign it into a variable ?
May I use Matalb livelink to solve my problem ?
Can "model.variable(<tag>).set(<var>,<expr>)" expr be a matrix ?
Best regards,
N.N
I have been stuck in this problem for a long time and really need a help!
I assume I have file .txt containning data in 2 columns.
I am wondering that Is it possible in Comsol to import file .txt into Comsol and assign it into a variable ?
May I use Matalb livelink to solve my problem ?
Can "model.variable(<tag>).set(<var>,<expr>)" expr be a matrix ?
Best regards,
N.N
1 Reply Last Post 31 mar 2016, 02:16 GMT-4