Rank: Member Groups: Registered
Joined: 12/11/2021(UTC) Posts: 18
|
hey, can someone help me to solve this problem. Im trying to import more then one colum from excel to smath by using while-loop, look at pic. Im get an error that I have to usw a string or more question. is it possible to combine string and int to string like this a="Hello" und i=1+i to c=a+i or somethin like this c="Hello&i&". Edited by user 27 May 2022 13:40:10(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,639 Location: Italy Was thanked: 1323 time(s) in 873 post(s)
|
You can use num2str() to convert a number to string and concat() to join a set of strings togheter |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Member Groups: Registered
Joined: 12/11/2021(UTC) Posts: 18
|
cool thanks. it works
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.