Community Profile

photo

Arun Kumar


Last seen: Today

MathWorks

34 total contributions since 2019

Contact

Arun Kumar's Badges

  • First Review
  • Revival Level 2
  • Knowledgeable Level 2
  • First Answer
  • Solver

View details...

Contributions in
View by

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

29 days 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 ...

29 days 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...

2 months 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...

2 months ago | 0

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

3 months ago | 0

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

3 months ago | 1

| accepted

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

3 months ago | 1 answer | 1

1

answer

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

5 months ago | 1

| accepted

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

5 months ago | 0

| accepted

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

6 months ago

Solved


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

6 months ago

Solved


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

6 months ago

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

8 months ago | 0

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

8 months ago | 0

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

9 months ago | 0

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

9 months ago | 0

Answered
How can I read the button state of a joystick (ARD-358) using Arduino with Simulink?
Hi, The only difference between your arduino sketch and the generated code is the the pin configuration. With arduino sketch, t...

9 months ago | 0

Answered
Arduino Interrupts
Hi, You can use the following block to implement ISR for external interrupts: https://in.mathworks.com/help/supportpkg/arduino...

9 months ago | 1

Answered
Read and Write CAN protocol messages using SPI through an Arduino Uno
Hi, Support for sending and receiving CAN messages from Arduino using MCP2515 is available in R2019b. Use these blocks to se...

10 months ago | 0

Answered
Adding delay between serial packets while programming through simulink.
Hi, You can add delay by changing Sample time of the source block. In your case, the source block is "Constant" block. If you c...

10 months ago | 0

Answered
how to change the default frequency of aurdiuno pwm block of simulink support package for aurdiuno?
Hi, Use this library to change the PWM frequency on arduino: https://in.mathworks.com/matlabcentral/fileexchange/62702-renss...

10 months ago | 0

Answered
Using Servo Block with Simulink IO
Hi Jeff, With Simulink IO, it is not possible to change the PWM frequency. But for changing PWM frequency in external mode or ...

10 months ago | 0

Answered
BNO055 Usage Problem | Serial Read Problem
Try this workaround: https://in.mathworks.com/matlabcentral/answers/345567-why-am-i-unable-to-connect-to-arduino-in-external-mo...

10 months ago | 0

Answered
Mismatches in acquired digital signal in Simulink using Arduino Due
Hi, I think the issue is due to the operating voltages. Due is ARM based board and works at 3.3V while Uno(and other AVR boar...

10 months ago | 0

Answered
Simulink S-Function MPU6050
Hi Philip Harris, Simulink external mode uses arduino Serial port 0 to communicate with the target. In the example, the targe...

1 year ago | 0

Answered
Simulink support for Arduino receiving radio frequency
Hi Kiat Nern Yeo, As such there is no support for RF shields but you can easily create device driver for the shield in MATLAB...

1 year ago | 1

Answered
How to plot the real time data from arduino?
Hi Tommy, Your observation is correct. When you do a=arduino, an arduino server is built and is deployed to the hardware. ...

1 year ago | 1

| accepted

Answered
HSC pressure sensors via SPI Arduino
Hi Viacheslav, What I understood from your question is that you want to read data from a SPI device using arduino. To do this,...

1 year ago | 0

| accepted

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

1 year ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

1 year ago

Load more