import xlsx using in loop

import xlsx using in loop - Messages

#1 Posted: 5/27/2022 7:05:40 AM
Beyaz

Beyaz

0 likes in 19 posts.

Group: User

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&".
#2 Posted: 5/27/2022 8:02:11 AM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

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 to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Posted: 5/27/2022 8:15:42 AM
Beyaz

Beyaz

0 likes in 19 posts.

Group: User

cool thanks. it works

12.JPG
  • New Posts New Posts
  • No New Posts No New Posts