I am trying to run .mod file with 'model(use_dll);' but I when I use dynare command with 'msvc' I have the error below:
??? Error using ==> mex at 208
Unable to complete successfully.
Error in ==> mj at 75
eval('mex -O LINKFLAGS="$LINKFLAGS /export:Dynamic" mj_dynamic.c')
Error in ==> dynare at 132
evalin('base',fname) ;
-->when I use 'cygwin' command instead I get :
??? Error using ==> mex at 208
Unable to complete successfully.
Error in ==> mj at 75
eval('mex -O PRELINK_CMDS1="echo EXPORTS > mex.def & echo mexFunction >> mex.def & echo
Dynamic >> mex.def" mj_dynamic.c')
Error in ==> dynare at 132
evalin('base',fname)
Does anybody know how can I handle these problems?
does using model; or model(use_dll); commands make huge differences? Because the code runs perfectly once I write model; instead of mode(use_dll);.
Thanks