MATLAB Matlab can't recognize my functions

  • Thread starter Thread starter dmatador
  • Start date Start date
  • Tags Tags
    Functions Matlab
AI Thread Summary
The discussion revolves around troubleshooting issues with running a Matlab program that contains functions defined in separate files. The user is experiencing an error indicating that an input argument in the first function is undefined, despite the program working for a friend who originally wrote it. The user has transferred the program to a flash drive and set the directory accordingly. Key advice includes the necessity of posting relevant code and error messages to facilitate effective assistance, as these details are crucial for diagnosing the problem.
dmatador
Messages
120
Reaction score
1
I am new to Matlab and have been having problems running a program that has functions defined in separate files and calls them. I am putting everything onto my flash drive and setting the directory to that, but it gives me an error saying that the input argument in the first function called is undefined. It worked for my friend who wrote the program but not for me after receiving it via email. Any suggestions?
 
Physics news on Phys.org
Post the relevant code. Without code and error messages, nobody can help you.
 

Similar threads

Replies
4
Views
1K
Replies
3
Views
2K
Replies
1
Views
2K
Replies
5
Views
3K
Replies
4
Views
3K
Replies
5
Views
8K
Replies
1
Views
3K
Replies
9
Views
3K
Replies
1
Views
8K
Back
Top