Page 2 of 2
Re: Invalid MEX-FILE in MATLAB 2017 prerelease version
Posted:
Wed Apr 05, 2017 8:50 pm
by anifab18
dynare running now after your brew install suggestion
but need to set the path as precise in terminal before running your code
"addpath /usr/local/opt/dynare/lib/dynare/matlab"
I used to set the path like this before
"addpath /Applications/Dynare/4.4.3/matlab"
Maybe you can just try set it like : addpath /usr/local/opt/dynare/lib/dynare/matlab to see if it work without no need to brew install first
I hope this will fix by an update
thank you
Re: Invalid MEX-FILE in MATLAB 2017 prerelease version
Posted:
Thu Apr 06, 2017 1:30 pm
by JdW
Dear Houtan,
Thanks a lot!! The Homebrew installation works fine.
The only minor issue I have right now is that the documentation is not built (even though I used the --with-tex option). Of course, I can easily copy the pdfs from a different computer.
Joris
Re: Invalid MEX-FILE in MATLAB 2017 prerelease version
Posted:
Sun Apr 09, 2017 10:21 am
by jpfeifer
Hi Joris,
did you install the required packages for building the pdf documentation? What is the error message?
Re: Invalid MEX-FILE in MATLAB 2017 prerelease version
Posted:
Wed Apr 12, 2017 4:37 pm
by JdW
Dear Johannes,
I didn't get any error message, it just didn't create the PDFs with documentation...
First, I have MacTex installed (without Homebrew).
Second, the following packages seem to be required to build the documentation:
- GNU Texinfo
- Texi2HTML and Latex2HTML, if you want nice mathematical formulas in HTML output
- Doxygen (if you want to build Dynare preprocessor source documentation)
These are installed via Homebrew and are, as a matter of fact, in the /usr/local/Cellar folder of my computer.
Attached I include one of the log files of the Homebrew Dynare installation (found via the Mac OS Console). It seems to indicate some problems although I am not sure what precisely happens (and how to solve it). Maybe it has something to do with the hyperref package but I am not sure.
Any help would be appreciated! Of course, it's not really important since it's easy to find the documentation on the webpage, but other users might face the same issue.
Best, Joris
Re: Invalid MEX-FILE in MATLAB 2017 prerelease version
Posted:
Fri Apr 14, 2017 10:01 am
by jpfeifer
That is strange, because in the log-file it clearly says
- Code: Select all
Output written on dynare.pdf (159 pages, 1147231 bytes).
That means the manual should have been correctly built. Is it maybe in a different folder?
Re: Invalid MEX-FILE in MATLAB 2017 prerelease version
Posted:
Fri Apr 21, 2017 9:03 am
by JdW
Dear Johannes,
Because of an issue with parallel Dynare on Mac OS I had to re-install Dynare. For some reason, this time it actually built the documentation. So problem solved, although it's still a mystery why it didn't build the documentation in the first place (I am 99.9% sure I looked in the appropriate folder and I tried several search commands in the terminal to locate dynare.pdf).
Anyway, problem solved. Thanks!
Best, Joris