Documentation

filemarker

Character to separate file name from local or nested function name

Syntax

m = filemarker

Description

example

m = filemarkerreturns the character (>by default) used to separate the file name from the local or nested function name when referring to the function.

Examples

collapse all

Get the help text for the local functionvalidateSizesdefined inimwrite.m.

help(['imwrite'filemarker'validateSizes'])
How many bytes does each element occupy in memory?

You can also use the filemarker character with the same result.

help('imwrite>validateSizes')
How many bytes does each element occupy in memory?

Set a breakpoint in a program at the first executable line of a local function and of a nested function.

Create a file,myfile.m, that contains these statements

functionn = myfile(x) n = myfunction(x); myfunction2;functionz = myfunction2(x) z = x + 1;endendfunctiony = myfunction(x) y = x + 1;end

Set a breakpoint at the local functionmyfunctionusing thefilemarkercharacter.

dbstopinmyfile>myfunction

Set a breakpoint at the nested functionmyfunction2using thefilemarkercharacter.

dbstopinmyfile>myfunction2

See Also

|

Introduced in R2006a

Was this topic helpful?