Live scripts stored in MATLAB Drive are assumed to be located in Temp folder

조회 수: 8(최근 30일)
Diaa 2019년 11월 12일
답변: Walter Roberson 2019년 11월 12일
I have MATLAB R2019a on Win10 and MATLAB Drive Connector.
Some live scripts are stored in the local MATLAB Drive folder. However, running
results in
instead of the expected output
'C:\Users\Diaa\MATLAB Drive'
So, how to fix this in order to be able to add the directories of the running live script folder and its subfolders to the search path using either
folder=fileparts(which(mfilename)); addpath(genpath(folder));

추가 답변(0개)


더 많은 답변 보기:  원격 교육 커뮤니티

Community Treasure Hunt

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

Start Hunting!

Translated by