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

 Accepted Answer

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:

1 Comment

thank you very much sir....for ur kind help I will ask help if I get any doubts....sir thanking you

Sign in to comment.

More Answers (0)

Asked:

on 20 Mar 2018

Commented:

on 21 Mar 2018

Community Treasure Hunt

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

Start Hunting!