question

Yue Y avatar image
0 Likes"
Yue Y asked Joshua S answered

Can FlexScript write to a file

I want to log some info in a file during simulation. Does FlexSim support writing to local files?

FlexSim 19.1.0
output data
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Joshua S avatar image
3 Likes"
Joshua S answered

FlexSim does support this. You can use fileopen() fileclose(), and many other commands. To find these commands, click the drop down option "Commands" under the help button, and you can search the list. You can find out more detail about commands that show up in blue when you type them in any script window by hovering over them and pressing F11. This will pull up the description and an example.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.