Réponse apportée
How can I read Arduino pins with pre-existing code
Hi Mehrdad, This kind of workflow is not supported. As an alternative, you can connect a second board programmed using simulin...

plus de 3 ans il y a | 0

Réponse apportée
SIMULINK Arduino Nano Every Support
Hi Hugo, Nano Every is not supported by Simulink support package for Arduino Hardware and there is no simple way to add support...

plus de 3 ans il y a | 0

Réponse apportée
My Hardware tab in Simulink is missing
Hi Menghan, Please go to Modelling tab and click on ModelSettings. It will open up the configuration parameters windows. In thi...

environ 4 ans il y a | 3

| A accepté

Réponse apportée
Arduino Issue: I cannot run any of my code. 'To create a new connection, clear the existing object.'
Hi Willian, Please refer the following page for correct syntax of the command. https://www.mathworks.com/help/supportpkg/ardui...

environ 4 ans il y a | 0

Réponse apportée
How to add an arduino library to Simulink for C-Caller ?
Hi Joncikas, The recommended way of interfacing sensors to Arduino is by creating a custom block by following the device driver...

environ 4 ans il y a | 0

Réponse apportée
How to generate High frequency PWM pulses by interfacing simulink and arduino?
Hi, Please change the Frequency parameter of PWM block to "Specify" and enter the desired frequency in "Desired" input. Please...

environ 4 ans il y a | 1

Réponse apportée
Pin Mapping and limitations of the MCP2515 library in Simulink
Hi Anders, I've answered your questions below. Possibility of Unlocking pins: There's only one restriction for SPI chip sele...

environ 4 ans il y a | 0

Réponse apportée
Error in PIL testing using Arduino
Hi Piyush, Double datatype is not supported for AVR targets. Either remove double datatype from your model or use some other ta...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
ExtTargetPktPending() call failed while checking for target pkt
Hi Abdul, The error is seen when Simulink doesn't get acknowledgement from the target. One very common reason for this is targe...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
Arduino connect with matlab using matlab system block in simulink
Hi Salman, Refer this example for detailed description of working with MATLAB system block: https://in.mathworks.com/help/suppo...

plus de 4 ans il y a | 0

Réponse apportée
How to read the encoder with Arduino?
Hi Tuan, Support for Arduino external interrupt was added in R2019a. You can use "External Interrupt" block to read encoder val...

plus de 4 ans il y a | 0

Réponse apportée
can anyone help me with how to use a rpm sensor with simulink and arduino....
Hi Akshay/Nabli/Dhiman, You can use Tachometer block(available from R2019b) to measure RPM of the motor. Hope this helps!

plus de 4 ans il y a | 0

Réponse apportée
4 digit 7 segment display using Arduino UNO 3 in Simulink
Hi Kurukulasuriya, There are multiple approaches to work with the display. If your display is parallel display(interfaced usin...

plus de 4 ans il y a | 0

Réponse apportée
C++ to Simulink S function block
Hi Prash, To create a device driver for Arduino, you can use the following gude: https://www.mathworks.com/help/supportpkg/ard...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Arduino Engineering Kit - Scope does not show actual encoder position and speed
Hi Gabriele, Encoder blocks are not supported for Normal mode simulation. In the documentation of the block it is mentioned: "...

plus de 4 ans il y a | 0

Réponse apportée
matlab arduino toolkit for linux is broken for the can read block
Hi Jason, Please execute the following code in MATLAB command line and then try to build the model: sppkgroot = codertarget.ar...

plus de 4 ans il y a | 0

Réponse apportée
Flash Simulink generated code onto Arduino Mega 2560 using Atmel Studio 7
Hi Ashu Biz, The workflow that you are trying to follow is possible but with a few modifications. During build of the project ...

plus de 4 ans il y a | 1

Réponse apportée
arduino offline instalation error
Hi Dmitry, Simulink/MATLAB support package for Arduino Hardware downloads Arduino IDE and libraries during installation. So you...

plus de 4 ans il y a | 0

Réponse apportée
Change and save parameter / variable for next startup on an arduino target using simulink
Hi Denis, What I understood from your question is that you want to store some data during runtime and read that data during the...

plus de 4 ans il y a | 0

Réponse apportée
Can't change baude rate using Arduino Nano3.0
Hi Ethan, The api: codertarget.arduinobase.registry.setBaudRate(gcs) should work fine as mentioned in the following answer: ...

plus de 4 ans il y a | 0

Réponse apportée
“Operation not supported” error while building Arduino model on MATLAB R2020a
If the version number of Simulink Support Package for Arduino Hardware that you have installed is 20.1.0, then you might face th...

plus de 4 ans il y a | 1

| A accepté

Question


“Operation not supported” error while building Arduino model on MATLAB R2020a
I am running MATLAB R2020a on macOS. While trying to build a Simulink Model Configured for Arduino Hardware, I am getting the fo...

plus de 4 ans il y a | 1 réponse | 1

1

réponse

Réponse apportée
Simulink unable to upload to Arduino Nano 3.0 Linux
Hi Jason Wang, The issue is due to the updated bootloader of Nano board. Old bootloader communicates at 57600 baud whereas the ...

presque 5 ans il y a | 2

| A accepté

Réponse apportée
Problem with Simulink and Arduino Uno Board
Hi Vasavi, I think you are running the model in "External Mode" which requires Simulink model to be running in order to run the...

presque 5 ans il y a | 0

| A accepté

A résolu


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

presque 5 ans il y a

A résolu


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

presque 5 ans il y a

Réponse apportée
receive multiple serail data in simulink frm arduino without delay
Hi, This code should work fine. I've checked with Arduino Uno and Mega int a=10; int b=20; void setup() { Serial1.begin(9...

environ 5 ans il y a | 0

Réponse apportée
Real time Scope from Arduino dont work on external mode
Hi, You need to mark the signals for logging while using XCP external mode. Refer the following documentation for more detail...

environ 5 ans il y a | 0

Réponse apportée
Is there a way to use Arduino Hardware with Vehicle Network Toolbox?
Hi Daniel, You can implement CAN sniffer by using the existing CAN Receive block in Simulink Support Package for Arduino Hardwa...

environ 5 ans il y a | 0

Réponse apportée
sending serial data from Arduino to simulink
Hi, Can you try putting the display block in enabled subsytem triggered by Status output of Serial Receive block. I think the d...

environ 5 ans il y a | 0

Charger plus