filemarker
Character to separate file name from local or nested function name
Syntax
Description
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
Get Help for Local Function
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?
Stop at Local and Nested Functions in File
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
Extended Capabilities
Thread-Based Environment
Run code in the background using MATLAB® backgroundPool
or accelerate code with Parallel Computing Toolbox™ ThreadPool
.
Version History
Introduced in R2006a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)