Invalid MEX-FILE in MATLAB 2017 prerelease version

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Re: Invalid MEX-FILE in MATLAB 2017 prerelease version

Postby anifab18 » Wed Apr 05, 2017 8:50 pm

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
anifab18
 
Posts: 5
Joined: Tue Apr 04, 2017 9:12 pm

Re: Invalid MEX-FILE in MATLAB 2017 prerelease version

Postby JdW » Thu Apr 06, 2017 1:30 pm

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
JdW
 
Posts: 9
Joined: Fri Mar 31, 2017 5:23 pm

Re: Invalid MEX-FILE in MATLAB 2017 prerelease version

Postby jpfeifer » Sun Apr 09, 2017 10:21 am

Hi Joris,
did you install the required packages for building the pdf documentation? What is the error message?
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Invalid MEX-FILE in MATLAB 2017 prerelease version

Postby JdW » Wed Apr 12, 2017 4:37 pm

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
Attachments
log_file_homebrew_dynare.txt
(405.51 KiB) Downloaded 68 times
JdW
 
Posts: 9
Joined: Fri Mar 31, 2017 5:23 pm

Re: Invalid MEX-FILE in MATLAB 2017 prerelease version

Postby jpfeifer » Fri Apr 14, 2017 10:01 am

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?
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Invalid MEX-FILE in MATLAB 2017 prerelease version

Postby JdW » Fri Apr 21, 2017 9:03 am

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
JdW
 
Posts: 9
Joined: Fri Mar 31, 2017 5:23 pm

Previous

Return to Dynare help

Who is online

Users browsing this forum: No registered users and 12 guests