Community Profile

Sreeram


MathWorks India Private Ltd

22 total contributions since 2013

Contact

Sreeram's Badges

Contributions in
View by

Answered
How to upload simulink model to arduino?
Hi Ray, Have you tried the external mode feature ? I hope this would be useful in this case ! Thanks, Sreeram Mohan

2 years ago | 0

| accepted

Answered
How to import accelerometer and gyro data from serial port to MATLAB work space?
Hi vrutang, How are the acclerometer and gyro connected to the Arduino ? If they are are not connected to serial you cou...

2 years ago | 1

| accepted

Answered
How to use INSTRFIND to determind device
Hi tien, Could you please check if the drivers have been installed correctly and then restart MATLAB and try again ? Than...

2 years ago | 0

Answered
Simulink Support Package for Arduino Hardware/Ethernet Shield
Hi phil, Yes the Arduino ethernet blocks are available only after R2013a i.e R2013b onwards. Hope this helps, Sreera...

2 years ago | 0

Answered
Access code created by Simulink support package for Arduino
Hi Alex, If you have a Embedded Coder License you could have access to the code. If you dont have one and interested to proc...

2 years ago | 0

Answered
How can I promote parameter from Serial Transmit block (Arduino) to a higher block in Simulink?
Hi Josemag, I tried promoting the serial port number parameter to a mask and I could download the model to the Arduino board ...

2 years ago | 0

Answered
Simulink : Arduino serial receive 1 byte to control pin13 led ON/OFF
<</matlabcentral/answers/uploaded_files/16071/help1.png>>

2 years ago | 0

| accepted

Answered
Simulink : Arduino serial receive 1 byte to control pin13 led ON/OFF
Hi nt, The easiest way to get to what you want is to add a Serial Receive block and add a comparator or a switch case block ...

2 years ago | 0

Answered
Problems with Arduino package
Hi Sascha, There is no attachment . Could you please attach it again ? Thanks, Sreeram Mohan

2 years ago | 0

Answered
Is Simulink support package for arduino can work with chipKITUNO32 or chipKIT MAX32??
The short answer is "no" . There is currently no reuse possible as of now. Thanks, Sreeram Mohan

2 years ago | 0

Answered
How do I create a virtual Arduino Uno instance in Simulink?
Hi Yashwardan, Currently there is no availability to have this working out of the box. In general as a note to use a sim...

2 years ago | 0

Answered
Simulink + Arduino Uno: Cannot upload to Arduino when using tone() function
Hi Peter, Could you please post the model if possible that would help in debugging ? Thanks, Sreeram Mohan

2 years ago | 0

Answered
How do I get Arduino UNO with ATmega8 work with Simulink?
Hi Daniel, By design the Simulink Support package does not cover this use case of swapping the microcontroller on the board ...

2 years ago | 0

Answered
Getting error message while running simulink model with Arduino Mega 2560
Hi sharsad, Could you please try the following to see if its because of a serial port object not being destroyed appropriate...

2 years ago | 0

Answered
arduino code generation for using with arduino IDE
Hi mahmoud, There is a documented version of how to incorporate external libraries as well as create a custom blocks provide...

2 years ago | 0

Answered
Serial read for Arduino Due in S-function
Hi Paul, Could you please post in the files that you are using if you could share and it would be helpful in debugging this ...

2 years ago | 0

Answered
Compile error on Simulink with Arduino Due
Hi, Could you please post the model files if possible and that could be helpful in debugging? Thanks, Sreeram Mohan

2 years ago | 0

Solved


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

3 years ago

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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago