Opened 7 years ago

Last modified 7 years ago

#4583 closed defect

files for CombiTimeTable not found anymore — at Initial Version

Reported by: massimo ceraolo Owned by: somebody
Priority: high Milestone: 1.13.0
Component: OMEdit Version:
Keywords: Cc:

Description

I have models which use CombiTimeTables with data from file.
In the past I put the relevant txt files in the directory indicated in OMEdit as Working directory.
Now, however, with the recent changes which store files in subfolders, my txt files cannot be read anymore.

My working directory is "E:/OM_Work"; my model is EVPkg1617.EVBasic, the file I need to read is "Sort1.txt".
The message that I receive is the following one:

stdout | OMEditInfo | <p>E:/OM_Work/EVPkg1617.EVbasic/EVPkg1617.EVbasic.exe -port=55543 -logFormat=xmltcp -override=startTime=0,stopTime=200,stepSize=0.1,tolerance=0.0001,solver=dassl,outputFormat=mat,variableFilter=.* -r=EVPkg1617.EVbasic_res.mat -w -lv=LOG_STATS</p>
stdout | info | <p>... loading "Cycle" from "Sort1.txt"<br>

assert | debug | <p>Not possible to open file "Sort1.txt": No such file or directory<br>

assert | info | <p>simulation terminated by an assertion at initialization</p>
stdout | error | <p>Simulation process failed. Exited with code -1.</p>

If I use the absolute address when loading the file for the table E:/OM_Work/Sort1.txt the file is loaded.

Change History (0)

Note: See TracTickets for help on using tickets.