MATLAB Answers

a problem in code generation

6 views (last 30 days)
Firas ZAKARIA
Firas ZAKARIA on 5 Sep 2020
Answered: Prasanth Sunkara on 7 Oct 2020
Hello,,
could you please help me in solving the following problem:
i am working in a project to read data via bluetooth between Arduino and raspberry pi..
i built a matlab function.. after i deploy the function i obtain the following error..
The 'serial' class does not support code generation.
any solution to solve this problem? is there another function that works with code generation?
Thanks,
Regards,

Answers (1)

Prasanth Sunkara
Prasanth Sunkara on 7 Oct 2020
Please note you would need to use "serialdev" function of Raspberry Pi support package to generate code and deploy it the raspberry pi.

Community Treasure Hunt

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

Start Hunting!