Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create matlab (and python?) startup file similar to env_ccppetmr.*sh #250

Closed
KrisThielemans opened this issue Jun 21, 2019 · 1 comment
Closed
Assignees
Milestone

Comments

@KrisThielemans
Copy link
Member

Many people will start matlab from their GUI as opposed to command line. that means that they won't have the environment variables from env_ccppetmr.*sh yet.
This is the same problem as SyneRBI/SyneRBI_VM#12.

One solution would be to create a matlab_startup_ccppetmr.m that has more or less the same content. It could go like

setenv('LD_LIBRARY_PATH',['wherever/lib', :,:, getenv('LD_LIBRARY_PATH')]);
setenv('PATH',['whereever/bin',getenv('PATH')])
setenv('SIRF_PATH', '.somewhere/sources/SIRF')
addpath('wherever/MATLAB')

then tell people to put this in their MATLAB start-up folder and call it from their startup.m.

Not sure if python has an equivalent convention.

@KrisThielemans KrisThielemans added this to the v2.1 milestone Jun 21, 2019
@KrisThielemans KrisThielemans modified the milestones: v2.1, v2.2 Oct 6, 2019
@KrisThielemans KrisThielemans modified the milestones: v3.0, v3.1 Mar 11, 2021
@KrisThielemans
Copy link
Member Author

matlab support has ended sadly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants