Can't connect multiple ev3 bricks to host computer using wifi

Hi, I tried connecting two EV3 bricks to the host computer, connecting either of them individually works, but when I try to connect one after the other, I get the error: "Conversion to cell from char is not possible." in realtime.internal.trackWiFi. Has anyone else faced issue related to this and found a solution?

Answers (1)

The error "Conversion to cell from char is not possible" occurs due to incorrect data type conversion. For example, the error can be reproduced in the following scenario:
X = {9};
X(1) = 'a';
Conversion to cell from char is not possible.
To correct the above code, the following curly braces can be used:
X(1) = {'a'};
I would also suggest you go through the following MATLAB documentation page to understand cell arrays and how to access data from cell arrays:
If the problem continues, sharing your code could help in resolving it.
I hope the above information is helpful!

Products

Asked:

on 18 Mar 2024

Answered:

on 24 Apr 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!