My startup file is as below
cd ('C:\Documents and Settings\Seetha Rama Raju S\Desktop\Dr. Seetha Rama Raju Sanapala\Not directly connected\ssrr\MATLAB') diary xxx Whoareyou=input('Identify yourself\n', 's');
As such I expect once MATLAB is invoked, Iexpect MATLAB to chage the directory first to the above, then start the diary and ask to identify.
But I noticed that till the user enters the answer to the prompt the directory is not changed. Without executing the first line ( change directory) how is it coming to the line of prompt.
Best regards, Seetha Rama Raju Sanapala
2 Comments
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/125369-startup-m-file-sequence#comment_207460
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/125369-startup-m-file-sequence#comment_207460
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/125369-startup-m-file-sequence#comment_227874
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/125369-startup-m-file-sequence#comment_227874
Sign in to comment.