how to add folder to matlab Path

I am taking a course via coursera in aerial Robotics, We were given san assignment via zip fike, I extracted the file and uploaded the file on the leftside
> runsim
Warning: Function Warning: Name is nonexistent or not a directory: /MATLAB Drive/New Folder (2)/HereitIs/utils
> In path (line 109)
In addpath (line 86)
In addpath (line 47)
'sys_params' is not found in the current folder or on the MATLAB path, but exists in:
/MATLAB Drive/New Folder/New Folder (2)
Change the MATLAB current folder or add its folder to the MATLAB path.
Error in height_control (line 8)
params = sys_params;
Error in runsim (line 17)
[t, z] = height_control(trajhandle, controlhandle);
I gone through youtube and tried all their tutotial on how to chane directory ND ADD DIRECTORY and still getting the same error
Please kindly help me.
Thanks

5 件のコメント

Mohammad Sami
Mohammad Sami 2020 年 3 月 27 日
the function to add a directory to path is addpath.
or change the current working directory by navigating the directory in matlab.
Franklin Onwukeme
Franklin Onwukeme 2020 年 3 月 28 日
Thank you Moh, I have ried that, but I still get errors I am using the online Matlab
does that make a difference.
Now I exracted the file into a folder in my desk top,
Then I went to the command window >> addpath\DeskTop\myfolder\filename
Thanks and kind regards
Walter Roberson
Walter Roberson 2020 年 3 月 28 日
If you are using the online MATLAB then you need to download the files to MATLAB online by using https://drive.matlab.com
F Moshe Onwukeme
F Moshe Onwukeme 2020 年 3 月 28 日
Thanks a million Moh, that solved the problem
Kindest regards
F Moshe Onwukeme
F Moshe Onwukeme 2020 年 3 月 28 日
Extending my thanks also to walter
cheers

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB Compiler についてさらに検索

タグ

質問済み:

2020 年 3 月 27 日

コメント済み:

2020 年 3 月 28 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by