Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

filemarker

Character to separate file name from local or nested function name

Syntax

m = filemarker

Description

example

m = filemarker returns 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 function validateSizes defined in imwrite.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

function n = myfile(x)
n = myfunction(x);
myfunction2;

    function z = myfunction2(x)
        z = x + 1;
    end

end

function y = myfunction(x)
y = x + 1;
end

Set a breakpoint at the local function myfunction using the filemarker character.

dbstop in myfile>myfunction

Set a breakpoint at the nested function myfunction2 using the filemarker character.

dbstop in myfile>myfunction2

See Also

|

Introduced in R2006a

Was this topic helpful?