Hello Noritaka Yusa
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
28.07.2011, 15:50 GMT-4
Thanks to Noritaka, here is one solution:
Here is a way to get the data of table under the matlab environment.
the syntax is "a=model.result.table('tbl1').getReal or b=model.result.table('tbl1').getImag"
here "a" and "b" are the variables of matlab which are defined by yourself.
The value of the table is a complex.
I also found out how to save a table as .txt or .xls files , namely:
model.result.table(minaTbl).save(['C:\...\comsolLivelink\' Tbl '.txt']);
model.result.table(minaTbl).save(['C:\...\comsolLivelink\' Tbl '.xls']);
Hope it helps.
Mina
Thanks to Noritaka, here is one solution:
Here is a way to get the data of table under the matlab environment.
the syntax is "a=model.result.table('tbl1').getReal or b=model.result.table('tbl1').getImag"
here "a" and "b" are the variables of matlab which are defined by yourself.
The value of the table is a complex.
I also found out how to save a table as .txt or .xls files , namely:
model.result.table(minaTbl).save(['C:\...\comsolLivelink\' Tbl '.txt']);
model.result.table(minaTbl).save(['C:\...\comsolLivelink\' Tbl '.xls']);
Hope it helps.
Mina
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
20.06.2012, 05:22 GMT-4
hello
i have the same problem but it's about the result ,thanksgiving
instead of having a table of 4 columns I found a table with two columns of false data as you can see in the atach file
hello
i have the same problem but it's about the result ,thanksgiving
instead of having a table of 4 columns I found a table with two columns of false data as you can see in the atach file