Community Profile

photo

Arun Kumar


MathWorks

22 2019 이후 총 참여 횟수

Arun Kumar's 배지

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

세부 정보 보기...

참여 게시물
보기 기준

답변 있음
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...

14일 전 | 0

답변 있음
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...

15일 전 | 0

답변 있음
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...

21일 전 | 0

답변 있음
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...

23일 전 | 0

답변 있음
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...

30일 전 | 0

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

30일 전 | 0

답변 있음
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...

약 2달 전 | 0

답변 있음
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...

약 2달 전 | 0

답변 있음
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...

약 2달 전 | 0

답변 있음
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 ...

약 2달 전 | 0

답변 있음
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...

약 2달 전 | 0

답변 있음
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...

약 2달 전 | 0

답변 있음
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...

5달 전 | 0

답변 있음
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...

5달 전 | 1

답변 있음
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. ...

5달 전 | 1

| 수락됨

답변 있음
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,...

5달 전 | 0

| 수락됨

해결됨


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

7달 전

해결됨


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

7달 전

해결됨


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

7달 전

해결됨


Add two numbers
Given a and b, return the sum a+b in c.

7달 전

해결됨


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

7달 전

해결됨


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

7달 전