zipf_rand function not working
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
Rik
2019-8-20
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.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Search Path 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!