where to save the function file to work?

조회 수: 10 (최근 30일)
Lev Mihailov
Lev Mihailov 2020년 2월 26일
편집: Rik 2020년 2월 26일
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

답변 (1개)

Rik
Rik 2020년 2월 26일
편집: Rik 2020년 2월 26일
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.

카테고리

Help CenterFile Exchange에서 Downloads에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by