Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

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

Rank: Newbie

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

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

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,498
Man
Italy
Location: Italy

Was thanked: 1252 time(s) in 825 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 please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
Offline Beyaz  
#3 Posted : 27 May 2022 14:15:42(UTC)
Beyaz

Rank: Newbie

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

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.