Answered
MATLAB Level 2 S Function tutorial?
Hi Danylo and KSevcik, Please go through <http://in.mathworks.com/help/simulink/sfg/how-s-functions-work.html this> link to u...

4 years ago | 0

Answered
How to convert level 2 s block to function ?
Hi digvijay, Firstly, please go through <http://in.mathworks.com/help/simulink/sfg/how-s-functions-work.html this> link to un...

4 years ago | 0

| accepted

Answered
Can someone please help me convert this Arduino code to matlab code
Hi Patrick Hritz, One thing to know is that the arduino code cannot be run directly on MATLAB as it is by just changing a few...

4 years ago | 0

Answered
Can Matlab connect to a Intel Galileo board ?
The MATLAB Arduino Support package does not support Galileo board yet. The currently supported boards can be found <http://in.ma...

4 years ago | 1

Answered
Matlab support for Intel Galileo Gen2
No, the Intel Galileo Gen 2 board is not yet supported by MathWorks. Cheers, Abhishek

4 years ago | 0

| accepted

Answered
Has installed the arduino package for matlab, but I still can not use the function of 'arduino'
Hi zyselvis, Can you confirm if you have downloaded the right " *MATLAB Support Package for Arduino Hardware* " from <http://...

4 years ago | 0

| accepted

Answered
I am trying to build a model on simulink for Arduino Uno. When i run the simulation it runs fine, but when i try to build the model it gives me an error.
Hi Akshay, Just want to make sure you are following the right procedure of downloading the generated code onto the board. Can...

4 years ago | 0

Answered
how i install arduino IO library for simulink ?
Hi Riyas, You can download the Simulink Support Package from <http://in.mathworks.com/matlabcentral/fileexchange/40312-simuli...

4 years ago | 0

Answered
Is it possible to toggle a manual switch via pressing a keyboard button in a running Simulink environment?
Hi TZEEEE, If you are looking to control the 'Manual Switch' via keyboard, I am afraid it is not possible by pressing a simpl...

4 years ago | 0

| accepted

Answered
How can use a MATLAB value in Arduino Uno code?
Hi Kasper van Wijk, Once you have the MATLAB Arduino support package installed, go through <http://in.mathworks.com/help/supp...

4 years ago | 0

| accepted

Answered
Digital PWM or PPM signal read for Arduino mega2560
Hi Yaser, Consider following <http://in.mathworks.com/matlabcentral/fileexchange/39354-device-drivers this> link which shows ...

4 years ago | 0

Answered
MATLAB Arudino PWM support
Hi chucktehengineer, Is it only the 'writePWMDutycycle' and 'writePWMVoltage' functions from Arduino MATLAB support Package t...

4 years ago | 0

Answered
How to view generated code from simulink to arduino
Hi Chfakht, You will be able to see the Simulink generated code for Arduino if you have License for Embedded Coder Toolbox. ...

4 years ago | 0

Answered
Need help with an example to plot data in real-time from (MPU6050) using Arduino to MATLAB
Hi chfakht, Arduino and the MPU6050 communicate via the I2C protocol. Refer <http://in.mathworks.com/help/supportpkg/arduinoi...

4 years ago | 0

| accepted

Answered
Export model configuration parameters.
Hi vvd03, It is possible to find the configuration parameters of a model via command line using the functions 'getConfigSet' ...

5 years ago | 0

Answered
MATLAB 2014 - Change workspace sorting
Hi Christian, There is no option to change the sorting to the old preference. Looks like this was a design choice by the d...

5 years ago | 0

Answered
Simple Traffic Light Arduino Problem?
Hi Kevin, The above error is because you are trying to write some code after the void loop (). There is an issue with the flo...

5 years ago | 0

Answered
undefined function or variable "scomp" when deploy to the hardware for Arduino Mega 2560
Hi Qiong, Did you change any parameter in the demo model ? Can you paste the complete error message please ?

5 years ago | 0

Answered
Got an error when using cell2csv in Matlab 2014b version
Simon, cell2csv is not a MATLAB built in function. But if you want to write a cell array into a comma separated value text, y...

5 years ago | 0

Answered
S-function in APM2 Simulink Blockset
Hi Kheirou, I am sure you are aware that APM2 Simulink Blockset is not a MathWorks Toolbox. Once you have the Simulink Blocks...

5 years ago | 0

Answered
X-axis and Y-axis detection
Hi Khoo, Do you have the signal values in MATLAB or are you reading from any sensor in real time ? Also what do you mean by t...

5 years ago | 0

Answered
Code generation error during building
Adam, This can also happen when your MATLAB preferences get corrupted. Try regenerating your MATLAB preferences and and then ...

5 years ago | 0

| accepted

Answered
simulink sum wrong output
Hi Jiaqi, The Output Minimum and Output Maximum do not saturate or clip the output signal. Use a saturation block after the S...

5 years ago | 0

Answered
Raspberry pi SSH connection error.
Hi Gopal, Please see document in the following link for detailed instructions and troubleshooting tips on how to setup the ne...

5 years ago | 0

| accepted

Answered
Simulink: Variant Subsystem with Connection Ports
Unfortunately, this is currently a limitation in MATLAB R2014a (8.3). As a workaround for this issue you may have to manuall...

5 years ago | 0

| accepted