﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4583	files for CombiTimeTable not found anymore	massimo ceraolo	somebody	"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. So works, but it is not optimal because this implies hard-coding in the model the directory structure, creating additional issues when moving to other computers.

The same issue occurs if I copy the file in the OM-created subdirectory for my model.

In think that it's important that the file (in case non absolute path is given) should be found in the working directory (non in one of its subfolders), since the subfolders are created by OM, not by the user.
"	defect	new	high	1.13.0	*unknown*				
