Filter löschen
Filter löschen

unknown type name 'class' in simulink code generation

6 Ansichten (letzte 30 Tage)
Fakhreddin Amirhosseini
Fakhreddin Amirhosseini am 8 Mär. 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?

Antworten (0)

Kategorien

Mehr zu Arduino Hardware finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by