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 2016年3月30日 GMT-4 11:17 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 2016年3月31日 GMT-4 02:16