matlab

Use this forum to post Vensim related questions.
Post Reply
fabiola jara
Junior Member
Posts: 8
Joined: Wed Aug 01, 2018 8:10 pm
Vensim version: DSS

matlab

Post by fabiola jara »

Estoy ejecutando un modelo de dinamica de sistemas en matlab y me sale este error:
Warning: Message from C preprocessor:
lcc preprocessor error: C:\Users\Public\Vensim\DLL\vendll.h:5
Could not find include file "vendllerr.h"

> In loadlibrary at 321
In LoadVensimLibrary>LoadLibrary at 10
In LoadVensimLibrary at 2
In Start at 26
Warning: Warnings messages were produced while parsing. Check
the functions you intend to use for correctness. Warning text
can be viewed using:
[notfound,warnings]=loadlibrary(...)
> In loadlibrary at 347
In LoadVensimLibrary>LoadLibrary at 10
In LoadVensimLibrary at 2
In Start at 26
Warning: The data type 'error' used by function
vensim_tool_command does not exist.
> In loadlibrary at 406
In LoadVensimLibrary>LoadLibrary at 10
In LoadVensimLibrary at 2
In Start at 26
Warning: The data type 'error' used by function
vensim_show_sketch does not exist.
> In loadlibrary at 406
In LoadVensimLibrary>LoadLibrary at 10
In LoadVensimLibrary at 2
In Start at 26
Warning: The function 'vensim_get_run_info' was not found in the
library
> In loadlibrary at 406
In LoadVensimLibrary>LoadLibrary at 10
In LoadVensimLibrary at 2
In Start at 26
Warning: The data type 'error' used by function
vensim_set_parent_window does not exist.
> In loadlibrary at 406
In LoadVensimLibrary>LoadLibrary at 10
In LoadVensimLibrary at 2
In Start at 26
Warning: The data type 'error' used by function
VensimCToolCommand does not exist.
> In loadlibrary at 406
In LoadVensimLibrary>LoadLibrary at 10
In LoadVensimLibrary at 2
In Start at 26
Warning: The data type 'error' used by function VensimCShowSketch
does not exist.
> In loadlibrary at 406
In LoadVensimLibrary>LoadLibrary at 10
In LoadVensimLibrary at 2
In Start at 26
Warning: The data type 'error' used by function
VensimCSetParentWindow does not exist.
> In loadlibrary at 406
In LoadVensimLibrary>LoadLibrary at 10
In LoadVensimLibrary at 2
In Start at 26
Error using RunModel (line 69)
Vensim is not in an active simulation

Error in Start (line 43)
RunModel(SimYears, S(i), Region(r), Folder, m, saveList);

me podrian decir porque?
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: matlab

Post by Administrator »

I've attached vendllerr.zip (which contains vendllerr.h).
Attachments
vendllerr.zip
(719 Bytes) Downloaded 198 times
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
fabiola jara
Junior Member
Posts: 8
Joined: Wed Aug 01, 2018 8:10 pm
Vensim version: DSS

Re: matlab

Post by fabiola jara »

ok gracias. yo tengo otro modelo en vensim y quiero leer algunas variables de mi modelo pero no lee, corre el vensim pero a la hora de leer aparece cero en la ventana de matlab.
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: matlab

Post by Administrator »

There are some threads on this forum that mention Matlab. I do not have a copy so cannot offer any advice.
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
Post Reply