Search found 7 matches
- Sun Sep 20, 2020 7:41 am
- Forum: Vensim
- Topic: Matlab and Vensim
- Replies: 8
- Views: 3147
Re: Matlab and Vensim
Thanks!
- Sat Sep 19, 2020 10:59 am
- Forum: Vensim
- Topic: Matlab and Vensim
- Replies: 8
- Views: 3147
Re: Matlab and Vensim
Sure, I can share it! But the forum does not accept .m files attached. Is there another channel to send it?
Still, could you elaborate on what I'm missing by not being able to use the "vensim_get_run_info"?
Still, could you elaborate on what I'm missing by not being able to use the "vensim_get_run_info"?
- Fri Sep 18, 2020 3:23 pm
- Forum: Vensim
- Topic: Matlab and Vensim
- Replies: 8
- Views: 3147
Re: Matlab and Vensim
Yes, that solves the warning. What exactly do I lose if I don't have this function? Further issue: When running the test code for the rabbit example the output looks strange. Here the beginning: %rabbit example str=['SPECIAL>LOADMODEL|RABFOX.vpmx']; calllib('VenDLL64','vensim_check_status') calllib(...
- Fri Sep 18, 2020 8:02 am
- Forum: Vensim
- Topic: Matlab and Vensim
- Replies: 8
- Views: 3147
Re: Matlab and Vensim
Yes, I used a header file. The code I used was: if not(libisloaded('VenDLL64')) hfile = ['C:\Users\Public\Vensim\DLL\vendll.h']; loadlibrary('VenDLL64',hfile); end It finds the library. The output message is: Warning: The function 'vensim_get_run_info' was not found in the library > In loadlibrary I...
- Thu Sep 17, 2020 7:29 pm
- Forum: Vensim
- Topic: Matlab and Vensim
- Replies: 8
- Views: 3147
Matlab and Vensim
Hi, I'm trying to call Vensim from Matlab and have gone quite far with the help of previous forum questions, yet I seem to have bumped into a new issue. When loading the library in Matlab, I receive the following message: "Warning: The function 'vensim_get_run_info' was not found in the library...
- Sun Jul 17, 2016 1:50 am
- Forum: Vensim
- Topic: Variable depending on time +delay
- Replies: 2
- Views: 1524
Re: Variable depending on time +delay
Thank you, tomfid
It worked perfectly!
It worked perfectly!
- Thu Jul 14, 2016 9:52 pm
- Forum: Vensim
- Topic: Variable depending on time +delay
- Replies: 2
- Views: 1524
Variable depending on time +delay
Hi, I'm new to vensim, it may be a basic question I do have two variables ("media pressure" and "time of remembrance") which are inputs for "desire to donate". "Desire to donate" should be a sum of "media pressure" (dmnl) for the "time of rememb...