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

Printing numbers to output window

Printing numbers to output window

Hi,
Is there any way to print real values to output window during the simulation?
Modelica.Utilities.Streams.print("message")  doesn't seem to work with real values?

-Swaroop

Re: Printing numbers to output window

Modelica.Utilities.Streams.print(String(realNumber))  should work fine

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