Avatar of NewtonianB
NewtonianB
 asked on

accessing m-files located in different paths

let's say i have
C:\scripts\first\myfile.m
C:\scripts\myfile2.m
C:\scripts\myfile3.m
C:\scripts\myfile4.m

myfile.m:
  [A,B] = myFile2(signal);

myfile2.m:
function myFile2(signal)
  [Aw,Bw] = myfile3(signal)


you get the idea...
C:\scripts\first\myfile.m starts the chain reaction and the scripts in C:\scripts then call each other

How would you set this up in C:\scripts\first\myfile.m ? (with relative paths)


Programming Languages-Other

Avatar of undefined
Last Comment
NewtonianB

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
ZeroBugMilkinson

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
jscroft

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
NewtonianB

ASKER
Thanks!
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23