Well, I never tried send a command from Matlab to terminal neither use it at Linux. I believe it is possible through commands like "system()", "unix()" or exclamation point operator "!"
If it was possible, I believe the solution will be call that code used to run fluka from terminal:
I.e., to run the input file MyTest_aa.inp inside the folder $WORK:
$FLUPRO/flutil/rfluka –e (executable filename) –N (integer) –M (number of cycles) $WORK/MyTest_aa &
Which is simplifyied to "$FLUPRO/flutil/rfluka –M 1 $WORK/MyTest_aa &" if one want to run 1 cycle using the standard executable file (flukahp).
-----Mensagem original-----
De: owner-fluka-discuss_at_mi.infn.it [mailto:owner-fluka-discuss_at_mi.infn.it] Em nome de Masoomeh Yarmohammadi
Enviada em: domingo, 24 de abril de 2016 04:25
Para: fluka-discuss <fluka-discuss_at_fluka.org>
Assunto: [fluka-discuss]: Fluka-Matlab link
Dear All,
Could you please let me how I can make a link between Fluka and Matlab then run Fluka via Matlab.
Many thanks in advance,
Masoomeh Yarmohammadi Satri
Post-Doctoral Research Fellow, School of Particles and Accelerator, Institute for Research in Fundamental Sciences (IPM) E-mail : myarmohammadi_at_ipm.ir, myarmoha_at_cern.ch
__________________________________________________________________________
You can manage unsubscription from this mailing list at
https://www.fluka.org/fluka.php?id=acc_info
(Ƨځ맲r*'~&x%Zm0nߖi'iw
Received on Mon Apr 25 2016 - 15:00:18 CEST