I also tried to start the program out of the Windows prompt. Same error. For me, it seems to be a problem with the Python script, so I installed Anaconda and hoped it would work. I there is still the same problem. Could it be a problem
with variables, which need to be set?
> Hello everyone,
> I have a problem with a script - programed in MatLab - which is organizing
> a co-simulation between two programs.
> The programs were started in MatLab with the dos(...) command.
> Using the same code now in Octave, there is an error occurring in that
> 1st part: Starting a prompt of the program 2nd part: Used Python script,
> 3rd part: File of the program to open 4th part: Simulation case
> dos("C:\Program Files (x86)\AVL\bin\aws_cmd"
> "D:\SG_EHDT_Simulation\T100E\3600rpm\step_1\excite\Test.py" "D:\
> "JBT_IME.D_30_B_30" hidden)
> Octave gives back:
> Error opening Python script
> I also tried to start the program out of the Windows prompt. Same error.
> For me, it seems to be a problem with the Python script, so I installed
> Anaconda and hoped it would work. I there is still the same problem. Could
> it be a problem with variables, which need to be set?
> Could someone help me? Thank you for your time.
> Best regards!
This is a lot you are trying to do, and I don't know how much is related to
Octave. Let me summarize if I understand you correctly:
1. You have got a program called "C:\Program Files (x86)\AVL\bin\aws_cmd"
(probably an EXE file) that can take three arguments:
1.1 The first argument of "aws_cmd.exe" is a python script called
1.2 The second argument of "aws_cmd.exe" is a (input? data-)file "D:\
1.3 The third argument of "aws_cmd.exe" is a (output? data-)file
"JBT_IME.D_30_B_30" (so what is "hidden" in your case? An Octave variable,
what is its content?)
2. You say invoking the following command vom "cmd.exe" (command prompt)
does not work either:
If 2. does not work, and you don't know how to call "aws_cmd.exe" from your
Windows command prompt, I think there is no hope Octave will fix this issue
of invoking your program "aws_cmd.exe" correctly.