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
  • Index
  • » Users
  • » karina
  • » Profile

Posts

Posts


Hello,

I'm working with OMShell and I'm changing the model parameters using -override and -overrideFile to run the executable. A .mat file is created and I would like to use this file in the next simulations automatically. My goal is that a new simulation is generated automatically when the .mat file is changed.

How can I do this?

Thanks for your help.

Hi

How can I create a loop in OMShell? I saw this code in the User Guide but it doesn't work [<interactive>:1:0-1:3:writable] Error: Parser error: Unexpected token near: for]

k := 0;
   for i in 1:1000 loop
   system("Myexecutable.exe")
     k := k + i;
   end for;

Is this an acceptable way to run a executable file many times in OMShell?

Thank you.

Thank you so much! You helped me a lot.

I'm working with OpenModelica and I wonder how can I modify my xml file putting it MatLab data, something similar to sim command for .mdl models. Thank you very much.

Hello,

How can I export data from OpenModelica to MatLab?

Aug-12-14 21:59:35
It is not possible configure all inicial positions of the bodies r_0
Category: Programming

Hello!

When the system is connected to the referencial (world)  I can not change all vectors r_0. Just  the bodies before of the joints permit changes. Thanks.

  • Index
  • » Users
  • » karina
  • » Profile
You are here: