📄 stringnum.m
字号:
function [InputArray,i] = StringNum(InputArray,Num,i);
%
%
% Function to store the numbers in a array upto a max of 8 numbers
% and return the array for display purposes
%
% Author: Pranam Janney Date: 15/05/04 Time: 17:50
% Email: pranamjanney@yahoo.com
%
% Usage:
% D = StringNum(Num);
% Inputs:
% Num = number that should be stored
% i = number of times this function has been called
% InputArray = stored array of numbers
% Outputs:
% D = array of 8 numbers
% i = number of times this function has been called
% InputArray = stored array of numbers
%
if ( i <= 8) % By changing this number the dialled numbers could be increased
InputArray(i) = Num;
else
i = 1;
InputArray = ' ';
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -