Using MATLAB with OS X 10 - matlab

I just upgraded to OS X 10 Yosemite but cannot launch MATLAB.
I've tried opening it through terminal with:
/Applications/MATLAB_R2014a.app/bin/matlab
However this doesn't work either. Any ideas?
EDIT: I have found an answer to my question!

EDIT 11/29/2021:
DtecNet, Inc. filed a DMCA complaint on this for some reason. Guess they can't have anybody using MATLAB on Yosemite.
There is a patch out for MATLAB R2014a that I got from a classmate.
The patch allows you to be able to run MATLAB without changing any settings on your computer, just in the MATLAB app itself.
You can download a copy of the patch here.

Unfortunately MATLAB R2014a is not compatible with Yosemite, see http://www.mathworks.it/support/sysreq/roadmap.html. You should upgrade to R2014b.
There seems to be a workaround at I cannot install Matlab 2014a on OS X Yosemite 10.10 public beta.

Related

Install Scilab on MacOs sierra

I've just updated my MacOs into MacOs High Sierra and then Scilab 6.0.0 doesn't work anymore, by unmatching with the system version. How can I fix this problem or does it exist an intermediary software or alias (like anaconda) to use scilab on mac?
Thanks
I have same problem. From what I've read Scilab 6 is not compatible with Sierra. Scilab version 5.2.2 can be made to run under Sierra and there are instructions online to do this. I haven't tried it yet so can't vouch for it.

Eclipse process sleep on Mac OS X El Capitan beta 3 with JDK 8

I upgraded my system to OS X El Capitan beta 3 and installed JDK 8 downloaded from Oracle. However, other applications that use JDK is run correctly, only Eclipse Mars stuck on the logo. I checked that stats of Eclipse process. It showed that Eclipse process is sleeping.
Is there any methods to make Eclipse run correctly? Thanks for any helpful answer.
This has been reported to Eclipse as high priority bug 472259. Currently there is no solution.
This is mentioned in release notes for OS X El Capitan DP3 [1]
Some versions of Eclipse may hang during use.
See [2] Apple Dev Forums for workaround by reverting back to DP2
[1] https://developer.apple.com/library/prerelease/mac/releasenotes/General/rn-osx-10.11/
[2] https://forums.developer.apple.com/thread/8776
This bug its already resolved in Beta 4.
According to reports on https://forums.developer.apple.com/thread/8776#30240 the 4th beta release (public beta 2) fixes the problem. I'm having the same issue but I'm not able to upgrade and test it myself since I'm away from my backup drive for the next few days and I'm not upgrading without that restore point. I'll try to update this with more info once I've tried the upgrade myself.
Update: Just upgraded and Eclipse loads without any problems.
there is a makefile that you can use on project to compile and fix this problem.
https://github.com/mnott/javamake

Matlab 2014b and mex files, has anyone been able to use Visual Studio Express?

I know that Visual Studio Pro will allow you to compile mex files for MATLAB 2014b.
However I was wondering if anyone was able to use Visual Studio Express (which is free, as opposed to Pro which is not) to compile mex files? I tried the Windows SDK (recommended by mathworks), with no success.
Update: This is the error I get:
A problem occurred while installing selected Windows SDK components. Installation of the "Microsoft Windows SDK for Windows 7" product has reported the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm
Only I can't find that file.
Details:
Windows 7
MATLAB 2014b
Things I Did So Far:
SDK 7.1, I tried installing this not sure if it did not install correctly or was not actually a solution (from here: http://www.mathworks.com/support/compilers/R2014b/index.html)
Download the 30 day trial of Visual Studio Pro which is working
Yes. I used to use that exact combination if I recall. Make sure you get the right version of it though. Share the actual problem and maybe we can work around it.
This is another common issue with the Windows SDK 7.1 where it won't install if you have a newer Visual Studio 2010 runtime than version 10.0.30319, which is what it tries to install (you would think they would update the SDK installer!). You have to remove them before installing the SDK:
MsiExec.exe /passive /X{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5}
MsiExec.exe /passive /X{1D8E6291-B0D5-35EC-8441-6616F567A0F7}
Then the SDK will install and you can reinstall the latest 2010 runtimes.
There is an identical issue with the old DirectX SDK (June 2010) and the solution is much the same.

How to install, load CUDA driver and set Matlab to do GPU processing on my Apple Macbook Pro Retina running OS X 10.10 Yosemite?

I would like to use some parallel computing function using the GPU. I tried to use gpuarray function but I have got the following error message:
There is a problem with the CUDA driver or with this GPU device. Be
sure that you have a supported GPU and that the latest driver is
installed.
Caused by:
The CUDA driver could not be loaded.
The library name used was
'/usr/local/cuda/lib/libcuda.dylib'.
The error was:
dlopen(/usr/local/cuda/lib/libcuda.dylib, 10): image not found
Therefore I would like to know how to install, load CUDA driver and set Matlab to do GPU processing on my Apple Macbook Pro Retina running OS X 10.10 Yosemite ?
My GPU is a NVidia GeForce 750M. My Macbook Pro Retina (15") is from the late 2013 generation.
I'm running Matlab 2014b
Thank you for your help and support,
Best,
Adrien
EDIT: thank you Robert C., I followed these instructions and Matlab with GPU seems to work fine now :)
I succeeded following the instructions in the CUDA getting started guide for Mac OS thanks to Robert.

Matlab and Mountain Lion

I have the 2012a version of Matlab and recently upgraded my Mac OS to Mountain Lion.
Having following the official instructions http://www.mathworks.com/support/solutions/en/data/1-IXBVKD/
the Mac now has XQuartz installed.
Despite this however, when I try to launch matlab either by clicking on the icon or by open an xterm window and typing .../bin/matlab, I don't have a successful launch.
In both instances, the Matlab icon shows up on the dock for a moment, then closes.
Any suggestions?
===============
(The following posts are on the same topic, but different varieties of the problem:
Matlab on Mountain Lion not working -
Getting Matlab's mex to work with xcode 4.4 on Mountain Lion
)