Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Inputs of the exe file generated bu OpenModelica

Inputs of the exe file generated bu OpenModelica

Hi everyone,

I an currently working one a C# application which should use the exe file created by OpenModelica after compiling my model.
If i understand well, the exe file needs a inputs file (.xml) to run. And it saves all the results in a .mat file.

My problem is that i don't want to write in a input file when i change the inputs of the exe. Is there any other way to define the inputs for the exe?
Maybe a command line?

Thanks by advence for the help.

Tom

Edited by: tomtom - Feb-02-12 15:16:24

Re: Inputs of the exe file generated bu OpenModelica

Well, you could modify the existing file in-place. But that's almost the same as writing a new input file.

Re: Inputs of the exe file generated bu OpenModelica

You might be able to change the simulation runtime code to link it
directly with your application and call it via C calls and change the
variables directly in the input vectors.

Cheers,
Adrian Pop/

Re: Inputs of the exe file generated bu OpenModelica

Thanks,

I am going to try this.
I will let you know if it works.

Tom

There are 0 guests and 0 other users also viewing this topic
You are here: