function get_option
%UNTITLED Summary of this function goes here
% Detailed explanation goes here
intV=input('input the value of First Paratmer(must be digit): '); %作用是输入a的数据,此数据必须是数字形式的。
strV=input('input the value of Second Paratmer(must be string): ','s'); %作用是输入a的数据,此数据必须是字符形式的
fprintf('Firt Parameter= %d\n', intV);
fprintf('\nSecond Parameter= %s\n', strV);
No comments:
Post a Comment