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

2 次查看(过去 30 天)
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?

回答(1 个)

Dhruv
Dhruv 2024-4-24
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!

类别

Help CenterFile Exchange 中查找有关 Troubleshooting in MATLAB Compiler SDK 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by