calling a file which is in folder in current folder
    4 次查看(过去 30 天)
  
       显示 更早的评论
    
hello ppl... I want a code to call the m file which is in the other folder ... please suggest me the code. regards Madhu
0 个评论
采纳的回答
  Walter Roberson
      
      
 2015-5-22
        Add the folder to your MATLAB path. Or cd to the other directory and invoke the routine.
If the code to be invoked is a script instead of a function, see run()
0 个评论
更多回答(0 个)
另请参阅
类别
				在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!