goto.m
来自「一个MATLAB的应用程序」· M 代码 · 共 21 行
M
21 行
function dummy = goto(cc,func,timeout)
% GOTO executes the target to the entry of a function
% GOTO(CC) places a breakpoint at the entry point to the 'main' function
% then restarts the target and waits for it to hit a breakpoint. If
% successful, this method will set the target's program counter (PC) to
% the beginning of main(). This permits the target to initialize any
% statically defined variables.
%
% GOTO(CC,FUNC) same as above, except in this form the target will halt
% upon reaching the specified target function: FUNC. The function is
% specified as a string.
%
% Notes - The GOTO will return upon reaching the first breakpoint that
% is encountered in the program execution. Therefore, it is possible that
% GOTO will complete with a target location other than the specified
% function if there are any existing breakpoints.
%
% See also RUN, INSERT, DELETE.
% Copyright 2002 The MathWorks, Inc.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?