Matlab R2011a, Fortran Mex, and Ubuntu 12.04
1 view (last 30 days)
Show older comments
I'm attempting to mex Fortran code in a new install of Ubuntu 12.04 and am not having luck. I am testing using timestwo.c and timestwo.F. (I need the Fortran to work, but I use the C as a second test case.)
Both compile without error and the file produced by timestwo.c runs successfully. However, the file produced by timestwo.F crashes Matlab ("Would you like Matlab to try and restart" or something like that). I am using gcc/gfortran 4.6. I know the gcc 4.3.4 is the "approved" version, but I've never had a problem with this in previous versions of Matlab/Ubuntu.
Any insight would be greatly appreciated. Thank you.
2 Comments
Answers (1)
See Also
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!