How to increase Stack Size when starting ANSYS Batch?
2 次查看(过去 30 天)
显示 更早的评论
Dear all,
I am facing problems when trying to perform an Ansys calculation via a Batch file started from Matlab. I simply start the Batch file like this:
system('"BATCH.bat"');
Ansys starts bulding the model and ends just when starting to calculate the model. If I start the Batch file directly from the cmd there is no problem. Evene starting it with VBA from Excel it works fine. I even tried the way to start the vba command in excel from matlab, this failed again.
So I guess it has to do something with how Matlab starts the Batch file or any other external programm. Is there any space restrinctions built in the system command?
I have read something about increasing the stack size to improve Ansys Performance. The FE-Model is quite big. So how can I increase the stack size in the system command call?
I am using MatLAB R2016a, ANSYS 17.0 and Windows 7
Thanks a lot for your help in advance. Regards, Pablo
0 个评论
回答(1 个)
Masato Takahashi
2016-11-11
Hi Pablo,
My friend faced a similar problem. Though we haven't tried the solution yet, the thread may be helpful: http://www.mathworks.com/matlabcentral/answers/160210-how-can-i-run-ansys-from-matlab
I hope it works.
Regards,
Masato
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!