← Back to team overview

yade-users team mailing list archive

Re: [Question #634499]: interface problem Yade-Matlab

 

Question #634499 on Yade changed:
https://answers.launchpad.net/yade/+question/634499

Bruno Chareyre proposed the following answer:
Hi,
Along the "txt interface" line, there is no real need to use bash.
It is possible to run a command like "matlab test.mat" from inside a python script  [1], e.g. os.system("some_command with args"). In fact the same command exists in C++ if needed: system("matlab test.mat"). 
I would thus push python here, no need to add a third language.
Bruno

[1] https://stackoverflow.com/questions/89228/calling-an-external-
command-in-python

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.