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.
command script delay
-
- Super Administrator
- Posts: 4589
- Joined: Wed Mar 05, 2003 3:10 am
Re: command script delay
You need Vensim DSS to link with Matlab.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: command script delay
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.
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.
-
- Super Administrator
- Posts: 4589
- Joined: Wed Mar 05, 2003 3:10 am
Re: command script delay
Please update your profile with your correct licence details and we will be happy to help. You registered as a PLE user.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: command script delay
Thank you for your kindness. I finally managed to solve the problem