where to save the function file to work?

10 vues (au cours des 30 derniers jours)
Lev Mihailov
Lev Mihailov le 26 Fév 2020
Modifié(e) : Rik le 26 Fév 2020
Hello! I downloaded the function file that I need, but it doesn’t work for me
Undefined function or variable 'xyz2grid'.
I downloaded it from here
https://www.mathworks.com/matlabcentral/fileexchange/56414-xyz-file-functions

Réponses (1)

Rik
Rik le 26 Fév 2020
Modifié(e) : Rik le 26 Fév 2020
You need to make sure your function can be found by Matlab by placing it on the path.
The general advice is to have a folder where you put functions like this (e.g. 'C:\Matlab\FEX downloads\'), and then add that folder to your Matlab path.

Catégories

En savoir plus sur Downloads dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by