matlab:matlab_path

This shows you the differences between two versions of the page.

Both sides previous revision Previous revision | |||

matlab:matlab_path [2019/07/10 11:55] igorkagan [startup.m] |
matlab:matlab_path [2019/07/10 11:56] (current) igorkagan [startup.m] |
||
---|---|---|---|

Line 5: | Line 5: | ||

When MATLAB starts, it will look for a **pathdef.m** file in its startup directory. It should not be edited - leave the default MATLAB path containing only MATLAB native toolboxes. The rest should be configured dynamically, as explained below/ | When MATLAB starts, it will look for a **pathdef.m** file in its startup directory. It should not be edited - leave the default MATLAB path containing only MATLAB native toolboxes. The rest should be configured dynamically, as explained below/ | ||

- | Start up folder (in the MATLAB icon | Properties | Start in ) (e.g. D:\Sources\MATLAB) allows controlling different paths and other settings via startup.m file placed in the folder, e.g.: | + | Start up folder (in the MATLAB icon | Properties | Start in ) (e.g. D:\Sources\MATLAB) allows controlling different paths and other settings via **startup.m** file placed in the folder, e.g.: |

<code matlab> | <code matlab> | ||

Line 15: | Line 15: | ||

</code> | </code> | ||

- | The function set_sources_path can be something like the one below, to add all repositories but exclude .git folders: | + | The function **set_sources_path.m** can be something like the one below, to add all repositories but exclude .git folders: |

<code matlab> | <code matlab> |

matlab/matlab_path.txt ยท Last modified: 2019/07/10 11:56 by igorkagan

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International