Community Profile

photo

Arun Kumar

MathWorks

Last seen: 5 jours ago Active since 2019

Software Developer working in the Embedded Targets team at MathWorks.

DISCLAIMER: Any advice or opinions posted here are my own, and in no way reflect that of MathWorks.

Statistics

All
  • Revival Level 3
  • 3 Month Streak
  • Promoter
  • First Review
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Content Feed

View by

Answered
Simulink Arduino SD Card .mat logging parameter error
Hi, This is the error: MAT-file logging supported only for Arduino Due, Arduino MKR1000, Arduino MKR WiFi 1010, Arduino MKRZe...

9 jours ago | 0

Answered
increasing the sampling frequency in simulink to read input pulses from digital (PWM) pin of arduino
Hi Aakash, The sampling frequency is limited by the microtroller clock frequency which is avr in this case. A good way to capt...

18 jours ago | 0

Answered
Which Arduino board (Name) can be used to read the speed directly using the Encoder block of Simulink?
Hi Aakash, Which release of MATLAB are you using? Till R2021a, the encoder block supports only encoders on motor carrier shiel...

18 jours ago | 0

| accepted

Answered
How to connect load cell (with HX711 and arduino) to simulink
Hi Aakash, This sensor is currently not supported by Simulink support package for Arduino hardware. But you can add custom Sim...

environ 2 mois ago | 0

Answered
The MKR IMU shield is showing calibration status -1. How should I resolve this error ?
If the Status port outputs an array with all the elements having a value of -1, ensure that the sensor is properly connected to ...

environ 2 mois ago | 0

Answered
Simulink and Arduino Nano Sense problem - external mode "hangs"
Hi Max Abildgaard, The error you are seeing is due to missing drivers of Arduino board. Try to reinstall the drivers and the is...

environ 2 mois ago | 1

Answered
Running into `Unrecognized function or variable 'portInfo'.` error when trying to use Monitor and Tune option
Hi Lukasz, If you are setting the com port manually then try the following patch file. Here are the steps to apply patch: 1...

environ 2 mois ago | 0

Answered
Send data from Arduino ethernet shield to Simulink
Hi Luciano De Crecchio, The following example shows usage of Ethernet shield with Arduino hardware. https://www.mathworks.com/...

5 mois ago | 0

Answered
Simulink coder installation error
Hi Cosimo, You don't need Simulink Coder license to build model for Arduino hardware. You can Click on "continue" which will di...

5 mois ago | 0

| accepted

Answered
Matlab 2020Rb External mode missing
Hi Maris, "External Mode" has been renamed to "Monitor and Tune". Please refer this doc for using "Monitor and Tune" feature: ...

7 mois ago | 0

Answered
Hardware Configuration Settings for Arduino Mega 2560 on Macbook
Hi Derrick, This looks like an installation issue. Please reinstall the support package. May I know the version of MATLAB that...

7 mois ago | 0

Answered
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...

7 mois ago | 0

Answered
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...

7 mois ago | 0

Answered
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 un an ago | 1

| accepted

Answered
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 un an ago | 0

Answered
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 un an ago | 0

Answered
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 un an ago | 1

Answered
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 un an ago | 0

Answered
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 un an ago | 0

| accepted

Answered
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...

environ un an ago | 1

| accepted

Answered
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...

environ un an ago | 0

Answered
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...

environ un an ago | 0

Answered
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!

environ un an ago | 0

Answered
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...

environ un an ago | 0

Answered
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...

environ un an ago | 0

| accepted

Answered
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: "...

environ un an ago | 0

Answered
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 d'un an ago | 0

Answered
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 d'un an ago | 0

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

plus d'un an ago | 0

Answered
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 d'un an ago | 0

Load more