MATLAB Answers

Save my own function in the pre-defined function list

24 views (last 30 days)
Qianyu on 10 Jan 2013
Can I create a function, then save it in a list of predefined Matlab functions?

Answers (1)

Matt J
Matt J on 10 Jan 2013
Edited: Matt J on 10 Jan 2013
If you mean that you would like your function universally accessible from any directory, and you want this remembered from session to session, you can use PATHTOOL and similar path manipulation functions to save your function to the MATLAB path.

Community Treasure Hunt

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

Start Hunting!