Hello ...plz someone help me to solve this issue....Getting parse error at function and showing function definitions are not permitted in this contex

1 view (last 30 days)

Accepted Answer

Birdman
Birdman on 20 Mar 2018
Copy the function Dij to a separate m file and save it with its name Dij. Then, in your script part1, you have to call the function properly with its input arguments like:
Dij( in1, in2, in3)
and then run your part1 script. Also, read about function basics as well:

More Answers (0)

Categories

Find more on Entering Commands in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!