unknown type name 'class' in simulink code generation

2 visualizaciones (últimos 30 días)
Fakhreddin Amirhosseini
Fakhreddin Amirhosseini el 8 de Mzo. de 2020
Hi, I'm using the Matlab system function in Simulink for code generation on Arduino.
I have managed to compile simple code on Arduino but when I started to use Arduino libraries Simulink was not able to compile classes in those libraries.
It returns the following error for SPI.h libray:
error: unknown type name 'class'
class SPISettings { ^
Does anyone know a solution?

Respuestas (0)

Categorías

Más información sobre Arduino Hardware en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by