zipf_rand function not working

1 Ansicht (letzte 30 Tage)
Adeena Naeem
Adeena Naeem am 20 Aug. 2019
Kommentiert: Adeena Naeem am 20 Aug. 2019
When I use the zipf_rand function as 'fN = zipf_rand(100,1,100)' the following error is shown:
Undefined function or variable 'zipf_rand'.
Can someone guide me on how I can resolve this issue.
  2 Kommentare
Rik
Rik am 20 Aug. 2019
That function is not a native Matlab function, but a function from the File Exchange. Did you make sure the m file of that function is on the search path? That can be any path you edit in the settings, or your current folder.
Adeena Naeem
Adeena Naeem am 20 Aug. 2019
Many thanks!

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Search Path finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by