how to call prepared function (m file)
4 views (last 30 days)
Show older comments
sani on 16 Mar 2020
Commented: Sriram Tadavarty on 16 Mar 2020
I downloaded a function a function and I want to use it in my script. I tried to call it by using 'load' and 'import' but got error.
how can I call it?
You can directly call the function with its name, provided it is in the path. For example your downloaded function name is myfun.m, then directly call with its name and required inputs in the script you want to access.
Then, it should work if used in script directly. Use it with scatter_kde(x,y) in the script
More Answers (0)
Find more on Downloads in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!