Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Beyaz  
#1 Posted : 27 May 2022 13:05:40(UTC)
Beyaz


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.
Unbenannt.JPG
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

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Davide Carpi  
#2 Posted : 27 May 2022 14:02:11(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,639
Man
Italy
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

2022-05-27 13_02_25-SMath Solver - [Worksheet1_].png
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Beyaz  
#3 Posted : 27 May 2022 14:15:42(UTC)
Beyaz


Rank: Member

Groups: Registered
Joined: 12/11/2021(UTC)
Posts: 18

cool thanks. it works

12.JPG
Users browsing this topic
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.