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

3 ビュー (過去 30 日間)

採用された回答

Birdman
Birdman 2018 年 3 月 20 日
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 件のコメント
Ganavi Mg
Ganavi Mg 2018 年 3 月 21 日
thank you very much sir....for ur kind help I will ask help if I get any doubts....sir thanking you

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by