stfy86 / matlabcontrol

Automatically exported from code.google.com/p/matlabcontrol
0 stars 0 forks source link

Add a command-line argument to specify arch #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Is this an entirely new feature or an enhancement of an existing feature?
Enhancement of existing feature,

What is the feature or enhancement?
I want an option added to change the architecture.  Right now when I try to 
start matlab through the proxy it fails to start because the default arch is 
64-bit because I have 10.6.8, but matlab is MATLAB_R2010aSV, which has no 
32-bit mac version.  The only way I've found to launch it is using this script 
and pointing the proxy towards it:

matlab.sh:
#!/bin/bash
shift
"/Applications/MATLAB_R2010aSV.app/bin/matlab" -maci "$@"

I don't say the script is perfect.  It might be dropping an argument, but that 
should give you an idea of what I mean.

If you have currently implemented a solution of your own to implement this
feature or enhancement, how have you done so?

I could probably do this if I needed to, though I don't see any build scripts, 
project files, or hints on how to build it, which would be a little annoying to 
do.  Or does this need something from MATLAB to build?

Original issue reported on code.google.com by guri.li...@gmail.com on 3 Aug 2011 at 6:07

GoogleCodeExporter commented 9 years ago
matlabcontrol is designed to be platform independent, and operate the same 
under Windows, OS X, and Linux. Architecture settings only exist for POSIX 
systems (OS X and Linux) and as such the setting could not be honored on 
Windows.

Original comment by nonot...@gmail.com on 26 Oct 2011 at 6:37