How to call Xyce from MATLAB?

2 visualizaciones (últimos 30 días)
Jay Vaidya
Jay Vaidya el 12 de Mzo. de 2020
Respondida: Walter Roberson el 12 de Mzo. de 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.

Respuesta aceptada

Walter Roberson
Walter Roberson el 12 de Mzo. de 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

Más respuestas (0)

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by