Error: Unrecognized variable name 'x' by non-ascii field name. | MATLAB | Forum

Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
Error: Unrecognized variable name 'x' by non-ascii field name.
Avatar
ykim
New Member
Forum Posts: 2
sp_UserOfflineSmall Offline
1
December 15, 2016 - 11:27 pm
sp_Permalink sp_Print sp_EditHistory

In my channel, there are several fields that their names was written with Unicode character -- '온도', '습도', '기압', ...

(FYI, 온도 is temperature, 습도 is humidity, and 기압 is air pressure)

 

It looks like thingSpeakRead function doesn't work well with non-ASCII characters.

The function reads '온도' field, but it throws Unrecognized variable name 'x' Error when it reads '습도' field.

However '습도' field is read since I renamed the field to humidity.

Avatar
Adarsh_Murthy

Forum Posts: 59
sp_UserOfflineSmall Offline
2
December 22, 2016 - 3:18 pm
sp_Permalink sp_Print

Thanks for sharing the issue. Could you share your channel ID as well to help us reproduce the error? 

Avatar
ykim
New Member
Forum Posts: 2
sp_UserOfflineSmall Offline
3
December 26, 2016 - 1:29 am
sp_Permalink sp_Print sp_EditHistory

I created new public channel and public MATLAB visualization to reproduce the error.

Please check following links:

https://thingspeak.com/channels/206990

https://thingspeak.com/apps/matlab_visualizations/116059

Avatar
Adarsh_Murthy

Forum Posts: 59
sp_UserOfflineSmall Offline
4
December 29, 2016 - 1:52 pm
sp_Permalink sp_Print

Thanks for creating and sharing the new public channel. I am able to reproduce the behavior:

 

thingSpeakRead(206990, 'outputFormat', 'table')

 

ans =

1×2 timetable array

Timestamps                     x        x_1
____________________ ______ ______

26-Dec-2016 01:20:11    17.271  45.443

 

As you mentioned, non-Ascii characters are not supported for column names by the existing functionality. We will consider adding this to a future release of thingSpeakRead. Thanks again for sharing your use case.

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
20 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 252

Vinod: 164

cstapels: 96

piajola: 75

vespapierre: 63

Adarsh_Murthy: 59

Newest Members:

yeseniara11

RomanFug

JamesPes

RobertBak

ScottSmiva

Amourhotte

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

 

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Administrators: Hans, lee