Page 1 of 1

command script delay

Posted: Sat Jul 03, 2021 7:59 am
by mrpepe
Hi
I have used a cmd file in a Matlab code by this command:

SPECIAL>LOADMODEL|tempin.mdl
MENU>RUN|O
MENU>VDF2DAT|1.vdf|2.dat|s.lst

the result file (2.dat) is not accessible inside the code until the code has ended completely. In other hand, it is generated properly but is not accessible for use in next line of code. appreciate for your help.

Re: command script delay

Posted: Sat Jul 03, 2021 8:14 am
by Administrator
You need Vensim DSS to link with Matlab.

Re: command script delay

Posted: Sat Jul 03, 2021 9:58 am
by mrpepe
thank you but i have this problem with DSS version 6.4
it seems the output file (2.dat) remain in PC memory and is released just at the end of code, so the following code lines which comes after vdf2dat line and use 2.dat file are not executed.

Re: command script delay

Posted: Sat Jul 03, 2021 1:20 pm
by Administrator
Please update your profile with your correct licence details and we will be happy to help. You registered as a PLE user.

Re: command script delay

Posted: Sun Jul 04, 2021 9:23 am
by mrpepe
Thank you for your kindness. I finally managed to solve the problem