필터 지우기
필터 지우기

unknown type name 'class' in simulink code generation

조회 수: 4 (최근 30일)
Fakhreddin Amirhosseini
Fakhreddin Amirhosseini 2020년 3월 8일
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?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by