![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1627463/image.png)
How to deploy third party dependencies on arduino
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Aaron Troll
el 21 de Feb. de 2024
Respondida: Sathvik
el 26 de Feb. de 2024
Is there a way that matlab automatically istalls dependencies for include files?
I do have a sensor connected to an arduino via SPI and the arduino connected to Matlab. Now I want to design a controller in matlab using the sensor readings over "Monitor & Tune" function.
The code I have for the sensor works fine for the Arduino IDE becuase all dependencies are automatically downloaded by the IDE. However Matlab does not seem to do that and I want to avoid downloading all relevant header myself.
Maybe with addons it works, but these can not be used in Monitor and Tune as far as I know.
0 comentarios
Respuesta aceptada
Sathvik
el 26 de Feb. de 2024
Hello,
If you are using a sensor that is present in the Simulink Support Package for Arduino Hardware, you need not install the dependencies for the sensor.
Here is a list of all the sensors present in the support package:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1627463/image.png)
However, if you are using a sensor that is not present in the support package, the dependencies for the sensor would not be downloaded automatically.
If you are using MATLAB R2023b, you can use the IO Device Builder App to create a system object for your sensor. Here is a link to a tutorial on how to use custom sensors in Simulink using the IO Device Builder App:
You can refer to the documentation and examples for the IO Device Builder App:
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Run on Target 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!