a problem in code generation

2 views (last 30 days)
Firas ZAKARIA on 5 Sep 2020
Answered: Prasanth Sunkara on 7 Oct 2020
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?

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.


Find more on MATLAB Support Package for Raspberry Pi Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!