MATLAB Answers

How to find error in function file

6 views (last 30 days)
Tinkul
Tinkul on 15 May 2014
Answered: Chandrasekhar on 15 May 2014
Suppose I have written a matlab coding which include two function file. Whenever i run the main
programme it gives error. But the error is due to the function file.Can i seperately run the
function file or is there any procedure?

  0 Comments

Sign in to comment.

Answers (1)

Chandrasekhar
Chandrasekhar on 15 May 2014
yes you can run the function file separately.
enter the name of the function in the command prompt and press enter.
you need to enter the arguments also if the function has any arguments

  0 Comments

Sign in to comment.

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!