how to enter a number in url
조회 수: 5 (최근 30일)
이전 댓글 표시
I have a url in that i want to type a number ,the number varies each time,if i enter it manually it works for ex
url='http://103.250.30.5/SendSMS/sendmsg.php?uname=XXX&pass=XXX&send=Alerts&dest=123456789&msg=Out time is 18.28'
web(url,'-browser')
dest is my mobile number,if i enter manually it works but i have saved it in variable A how to enter it tere
kindly help
댓글 수: 0
채택된 답변
the cyclist
2014년 3월 16일
A = '123456789';
url=['http://103.250.30.5/SendSMS/sendmsg.php?uname=XXX&pass=XXX&send=Alerts&dest=',A,'&msg=Out time is 18.28']
댓글 수: 0
추가 답변 (1개)
Image Analyst
2014년 3월 16일
You can use sprintf():
url=sprintf('http://103.250.30.5/SendSMS/sendmsg.php?uname=%d&pass=%d&send=Alerts&dest=123456789&msg=Out time is 18.28', number1, number2);
number1 and number2 replace the %d's in the format string.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!