Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
20
Task/User-input-Text/MATLAB/user-input-text.m
Normal file
20
Task/User-input-Text/MATLAB/user-input-text.m
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
>> input('Input string: ')
|
||||
Input string: 'Hello'
|
||||
|
||||
ans =
|
||||
|
||||
Hello
|
||||
|
||||
>> input('Input number: ')
|
||||
Input number: 75000
|
||||
|
||||
ans =
|
||||
|
||||
75000
|
||||
|
||||
>> input('Input number, the number will be stored as a string: ','s')
|
||||
Input number, the number will be stored as a string: 75000
|
||||
|
||||
ans =
|
||||
|
||||
75000
|
||||
Loading…
Add table
Add a link
Reference in a new issue