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

get function variables values in OMEdit

get function variables values in OMEdit

Hello,

I have created a model which calls a function (so 2 files) . If I run it under OMEdit, in plot section,
I can see the values of the model variables but how can I see the internal variable (of the function)
values?

Thank you

Wakayamaken

Re: get function variables values in OMEdit

You cannot do that directly. You can call Modelica.Utilities.Streams.print to print internal function values to a file or stdout or stderr.
Alternatively you can run the model in algorithmic debug mode and put a breakpoint inside the function where you want to see the values.

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