How to call Xyce from MATLAB?
2 views (last 30 days)
Show older comments
Jay Vaidya
on 12 Mar 2020
Answered: Walter Roberson
on 12 Mar 2020
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.
0 Comments
Accepted Answer
Walter Roberson
on 12 Mar 2020
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 Comments
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!