help.m

来自「用matlab实现带有动画演示的加尔顿顶板演示」· M 代码 · 共 32 行

M
32
字号
function Help
%This function is used for providing the help information

Helpstr={'The purpose of this Demo is to present a dynamic random';
      'process of binomial distribution vividly.';
      '';
      '1) To get started, you need to input the correct number of';
      ' the balls and the correct  left-probability first.  It  will  also';
      ' warn you if your inputs are not correct. ';
      '2) While the program  is processing, you  will  see the  ball';
      ' falling  down, and the frequency histogram of each colum ';
      ' will be changed as time goes on. What''s more, there''s also';
      ' a wait-bar.';
      '3) The actual number of balls in each colum will be demon-';
      ' strated, and so will be the numbers in theory.';
      '4) The total number of balls will be demonstrated at the low-';
      ' er right corner.';
      '5) As with the buttons on the right side, you can use as follows:';
      '    a.Press ''Start'' to get started, while ''Exit'' to exit.';
      '    b.Press ''Accelerate'' or ''Slowdown'' if you want to change';
      '       the speed.';
      '    c.Press ''Help'' when you are in trouble.';
      '';
      'Thank you for using and good luck!';
      '@_@' 
      '';
       '';
      '';};

helpdlg(Helpstr,'Help!')
  

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?