Matlabsolutions provide latest MatLab Homework Help, MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.
Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.
addpath() basically used for adding folders to search path.
You can add like this
- at top of file
- mkdir('matlab/myfiles')
- addpath('matlab/myfiles')
- savepath matlab/myfiles/pathdef.m2
2. at end of file
- mkdir('matlab/myfiles')
- addpath('matlab/myfiles','-end')
3. Adding folders and sub folders
- mkdir('matlab/myfiles')
- addpath(genpath('matlab/myfiles'))
Comments
Post a Comment