Answered
Tutorial to implement a Simulink model into a Texas Instruments control board?
Hello People, Are you using 'Texas Instruments Code Composer Studio v3.3 (C2000)' ? If yes, this or a similar error can ap...

9 years ago | 0

Answered
ArduinIO package Libraries' documentation
Hi Mathews, You can also download the MATLAB Support package from your MATLAB Command prompt by typing 'supportPackageInstall...

9 years ago | 0

Answered
Where to find power gui block
Hi Pavi Karthikeyan, If you are using MATLAB 8.2 (R2013b), you can find 'powergui' block at Simscape->SimPowerSystems->Second...

9 years ago | 0

Answered
How to save the elements of an array one at a time in a .mat file?
Hi Sundar, Assuming you need a representation of the variable and the iteration number in the .MAT file, you could try someth...

9 years ago | 0

Answered
modifying a cell array
Hi Shobit, I am assuming you want to know how to modify/combine cell arrays and you already know how to loop through the diff...

9 years ago | 0

Answered
Arduino I/O support file is showing compilation error
Hi Avinash Matani, The 'MATLAB Support Package for Arduino Hardware' can be downloaded from <http://in.mathworks.com/matlabc...

9 years ago | 0

Answered
Arduino: What is the size of the program?
Hi Scott Garabedian, The size of the of program, deployed onto the board, is displayed on the MATLAB Command prompt from MATL...

9 years ago | 0

Answered
How to recompile S-functions in Simulink?
Hi Laurent, I am guessing you have edited the C S-Function. Once you have changed the C S-Function, you have to mex it inorde...

9 years ago | 1

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

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

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

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

9 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

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

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

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

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

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

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

9 years ago | 0

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

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

9 years ago | 1

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

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

9 years ago | 1

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

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

9 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 ?

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

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

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

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

10 years ago | 0

| accepted

Load more