Hello ...plz someone help me to solve this issue....Getting parse error at function and showing function definitions are not permitted in this contex
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171412/image.png)
0 commentaires
Réponse acceptée
Birdman
le 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:
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!