|
[Sponsors] |
October 19, 2011, 11:11 |
link Star-ccm and matlab
|
#1 |
New Member
Join Date: Oct 2011
Posts: 3
Rep Power: 15 |
Hi!!!!
I'm a new member in this forum, and i hope to write in the right section... i have a problem with Star-ccm, i have to open Star from Matlab and then run a macro already created... Can someone help me? thanks |
|
October 21, 2011, 10:38 |
|
#2 |
New Member
Jean-François Corbett
Join Date: Aug 2011
Posts: 8
Rep Power: 15 |
This is how you run a macro from the command line on an existing sim file:
Code:
starccm+ mySimFile.sim -batch "..\myotherpath\MyMacro.java" Code:
starccm+ -new -batch "..\myotherpath\MyMacro.java" |
|
October 22, 2011, 13:47 |
|
#3 |
New Member
Join Date: Oct 2011
Posts: 3
Rep Power: 15 |
thanks for your answer....
it works fine... i knew the shell function but i thought it could be used only for .exe files... |
|
October 24, 2011, 05:01 |
|
#4 |
New Member
Jean-François Corbett
Join Date: Aug 2011
Posts: 8
Rep Power: 15 |
starccm+ is indeed an executable... The full filename is "starccm+.exe".
Glad it worked. |
|
|
|