Search found 4 matches

by Yoller
Tue Dec 20, 2011 12:52 pm
Forum: Vensim
Topic: Call vensim
Replies: 91
Views: 118424

Re: Call vensim

function loademo if not(libisloaded('VenDLL32')) hfile=[ 'C:\Users\Desktop\Vensim\Vensim\dll\vendll.h']; loadlibrary('VenDLL32',hfile); end libfunctionsview VenDLL32 str=['SPECIAL>LOADMODEL|C:\Users\Desktop\Vensim\Vensim\dll\rabfox.vpm']; calllib('VenDLL32','vensim_check_status') calllib('VenDLL32',...
by Yoller
Mon Dec 19, 2011 8:39 pm
Forum: Vensim
Topic: Call vensim
Replies: 91
Views: 118424

Re: Call vensim

Administrator wrote:Can you post the code that you are using?
I am using a combination of the successfull Matlab functions that some users posted here. basically what olive posted a few months ago.
by Yoller
Mon Dec 19, 2011 8:37 pm
Forum: Vensim
Topic: Call vensim
Replies: 91
Views: 118424

Re: Call vensim

The "Reinstall Vensim" message can happen if the .dll can't find its language resource files, which can happen if you have path issues or have copied the .dll to a nonstandard location. Usually this is resolved by reinstalling Vensim. What Vensim version, operating system, and paths are y...
by Yoller
Sun Dec 18, 2011 8:12 pm
Forum: Vensim
Topic: Call vensim
Replies: 91
Views: 118424

Re: Call vensim

Hi, I am trying to call Vensim from Matlab as well. However, I keep just getting 0 when using the loadmodel function (after having loaded the vensimdll32 library). The .err file simply says 'Reinstall Vensim' and nothing else. I reinstalled it but still it doesn't work. Any suggestion? Thank you all...