# MATLAB.jl question: where to add the Matlab application path?

**URL:** <https://discourse.julialang.org/t/matlab-jl-question-where-to-add-the-matlab-application-path/69872>\
**Category:** General Usage\
**Tags:** question\
**Created:** [October 16, 2021, 1:51am UTC](https://discourse.julialang.org/t/matlab-jl-question-where-to-add-the-matlab-application-path/69872 "2021-10-16T01:51:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![leon](https://avatars.discourse-cdn.com/v4/letter/l/dc4da7/32.png) [@leon](https://discourse.julialang.org/u/leon)\
**Post date:** [October 16, 2021, 1:51am UTC](https://discourse.julialang.org/t/matlab-jl-question-where-to-add-the-matlab-application-path/69872/1 "2021-10-16T01:51:24Z")

</div>

I have a Macbook Pro and want to install MATLAB.jl.

The instructions say this:  
`You may add the following command to `.profile`:`export MATLAB\_HOME=/Applications/MATLAB\_R2012b.app` .`

Should I do this through Julia or my Terminal?

Where is the file `.profile`? At /Users/FirstLast/? I do not have that hidden file here unfortunately.

The sentence I should add is the below, based on my Matlab version?  
`export MATLAB_HOME=/Applications/MATLAB_R2012b.app`

---

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [October 16, 2021, 8:11am UTC](https://discourse.julialang.org/t/matlab-jl-question-where-to-add-the-matlab-application-path/69872/2 "2021-10-16T08:11:06Z")

</div>

Just in case: have you checked if it’s in your default home directory? Otherwise, try to create such ` ~/.profile` startup file with said instruction.

---

<div class="post-metadata">

**Author:** ![leon](https://avatars.discourse-cdn.com/v4/letter/l/dc4da7/32.png) [@leon](https://discourse.julialang.org/u/leon)\
**Post date:** [October 16, 2021, 9:20am UTC](https://discourse.julialang.org/t/matlab-jl-question-where-to-add-the-matlab-application-path/69872/3 "2021-10-16T09:20:33Z")

</div>

Got it. Thank you for the clarification!

> [@leon](#):
>
> export MATLAB\_HOME=/Applications/MATLAB\_R2012b.app
