Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
How to add new functions to the MATLAB?

Subject: How to add new functions to the MATLAB?

From: dertli

Date: 16 Feb, 2011 17:35:04

Message: 1 of 2

Hi ,

For my course I downloaded a file which includes lots of MATLAB functions from my professor's webpage. I want to add these functions to MATLAB. I don't want to save them in the workfile each time. So do you know how can add these functions to MATLAB as a regular function of MATLAB(like sum, std and mean functions etc)?

Thanks

Subject: How to add new functions to the MATLAB?

From: Wayne King

Date: 16 Feb, 2011 18:11:04

Message: 2 of 2

"dertli" wrote in message <ijh1s8$3d8$1@fred.mathworks.com>...
> Hi ,
>
> For my course I downloaded a file which includes lots of MATLAB functions from my professor's webpage. I want to add these functions to MATLAB. I don't want to save them in the workfile each time. So do you know how can add these functions to MATLAB as a regular function of MATLAB(like sum, std and mean functions etc)?
>
> Thanks

Hi, Save them in a directory (folder) and see the documentation for

addpath

and
pathtool

Wayne

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us