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

String Outputs Not Shown

String Outputs Not Shown

Hi,
Have  a look at this basic model on string handling.

Code:

model stringModel

  String a = String(true);
  String b = String(2.0);
  // = "2.0"
  String c = String(123, minimumLength = 6, leftJustified = false);
  // = "   123"
end stringModel;

When i simulate this, the outputs are not shown in OpenModelica. Is there any way to get them?

There are 0 guests and 0 other users also viewing this topic