Can FlexScript write to a file

Can FlexScript write to a file

yue_y
Not applicable
77 Views
1 Reply
Message 1 of 2

Can FlexScript write to a file

yue_y
Not applicable

[ FlexSim 19.1.0 ]

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

0 Likes
Accepted solutions (1)
78 Views
1 Reply
Reply (1)
Message 2 of 2

joshua_s
Not applicable
Accepted solution

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.