I want to export some data to a .txt file but first I need to check if it exists with command fileexists. If it doesn't, I want to create the .txt file automatically and then fill it out with the data.
Thanks.
Manuel.
I want to export some data to a .txt file but first I need to check if it exists with command fileexists. If it doesn't, I want to create the .txt file automatically and then fill it out with the data.
Thanks.
Manuel.
If you use the command fileopen(fileName, "w"), and the path is valid, then the file will be created, even if it doesn't exist.
13 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved