How to call Xyce from MATLAB?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Jay Vaidya
il 12 Mar 2020
Risposto: Walter Roberson
il 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 Commenti
Risposta accettata
Walter Roberson
il 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Startup and Shutdown in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!