How to call Xyce from MATLAB?

2 次查看(过去 30 天)
I used serial Xyce in windows. And I could call the xyce function from matlab by using this
system('Xyce ~/Xyce/build/circuitfile.cir');
But, what is the analogy of that in Ubuntu?
PS: I used to call matlab.exe in cygwin while using windows and then matlab calls this function
system('Xyce ~/Xyce/build/circuitfile.cir');
in my project in the computing segment.
Also, how can I set the number of cores to be used in parallel xyce?
Xyce is an electronic simulator https://xyce.sandia.gov/documentation/BuildingGuide.html whose source code is available here.

采纳的回答

Walter Roberson
Walter Roberson 2020-3-12
The command would probably be the same as long as Xyce was in a directory that is on your shell path.
Note that most of your shell initializations are not run when MATLAB invokes a shell, because the invoked shell is not interactive. https://www.mathworks.com/matlabcentral/answers/27762-executing-unix-commands-set-in-path-in-matlab-does-not-work-with-unix-command#comment_194290

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by