回答済み
How to store some data into sd card of the arduino through MATLAB and also how to get the data back from the arduino through MATLAB?
Here is a file exchange submission that does this with the Data logger shield - https://www.mathworks.com/matlabcentral/fileexch...

6年以上 前 | 0

回答済み
How to view SPI Arduino data from accelerometer within Matlab?
Here is a link on how to communicate with external sensors using SPI - https://www.mathworks.com/help/supportpkg/arduinoio/examp...

6年以上 前 | 0

回答済み
raspi3 support simulink external mode show on the DSI display?
If you deploy the code to the Raspberry Pi (Normal mode and not external mode), I would think that this display will show the vi...

6年以上 前 | 0

回答済み
how do I relocate code generated from simulink model to another Development Environment?
If you download this support package - https://www.mathworks.com/hardware-support/arduino-simulink.html then you dont have to ma...

6年以上 前 | 0

| 採用済み

回答済み
I2C Sensor
Almost every I2C sensor is unique in its own startup routine and such. Once you have figured out what it is from the data sheet ...

6年以上 前 | 0

回答済み
Real time implementation of fuzzy logic controller simulink model with Arduino Mega 2560
To set the sampling time, you can go to Solverand change the Fixed step time to 600 as these are seconds (as shown below). <...

6年以上 前 | 0

回答済み
External Mode - Raspberry; re-connect
Another way would be to open the shell as mentioned above and deleting the folders related to the specific model and re-run it. ...

6年以上 前 | 0

回答済み
How to execute subsystem once at startup
Simulink works on time, so it looks like you need to 1) read the clock time of the simulation model using the clock block - ...

6年以上 前 | 0

回答済み
Undefined function 'readVoltage' for input arguments of type 'arduino'.
After you have established the communication with Arduino using a=arduino, could you type methods(a) and post the results here?...

6年以上 前 | 1

| 採用済み

回答済み
How to design custom hardware support package?
If it is an ARM-cortex A based MCU you can use this tutorial series to create one yourself - https://www.youtube.com/playlist?li...

6年以上 前 | 0

回答済み
Unable to go to external mode
Have you tried manually setting the COM port to the accurate port? Another common issue that causes this - A MATLAB arduino obje...

7年弱 前 | 0

回答済み
Arduino-Simulink upon Arduino reset
If you follow this documentation page - https://www.mathworks.com/help/supportpkg/arduino/ug/run-model-on-arduino-hardware.html,...

7年弱 前 | 0

回答済み
multi-core raspberry pi
Have you tried following instructions from this documentation page? - https://www.mathworks.com/help/simulink/ug/solving-embedde...

7年弱 前 | 0

回答済み
How to upload .m file to Raspberry Pi by making raspberry pi standalone device using matlab ?
Or if you have MATLAB Coder here is the post that you can download and make your MATLAB code run standalone on Raspberry PI - ht...

7年弱 前 | 0

回答済み
Raspberry Pi 3 SPI - Blocks. How to start the SPI Communication?
Here is an example of using SPI communication with Raspberry PI and simulink - https://www.mathworks.com/help/supportpkg/raspber...

7年弱 前 | 1

回答済み
How to continuously real-time plotting graph from arduino to matlab (10k Variable Resistor)
Checkout this video - https://www.mathworks.com/videos/plotting-live-data-of-a-temperature-sensor-using-arduino-and-matlab-12131...

7年弱 前 | 0

回答済み
Sampling rate is not accurate (Arduino support package)
If these are the only blocks in your model, then two more things to notice are sampling time of Workspace blocks and the samplin...

8年以上 前 | 0

回答済み
Plotting live data from Arduino in Matlab
have you tried animatedline function in MATLAB? I doubt you can do 100% real-time with Arduino but I think this is what you are ...

8年以上 前 | 0

回答済み
It is possible to read the status of a digital output port from an Arduino board with Matlab?
Have you tried using this function from the support package? http://www.mathworks.com/help/supportpkg/arduinoio/ref/readdigitalp...

8年以上 前 | 1

回答済み
Error occurred when evaluating apply callback [Instrument Control Toolbox]
Have you tried using the Arduino Serial Transmit instead of the Instrument Control Toolbox one? I think that will resolve this i...

8年以上 前 | 0

回答済み
Question about deploying simulink model to Arduino Mega 2560
You should contact Technical Support of MathWorks regarding this, because the Support Package is dependent only on base product ...

8年以上 前 | 0

回答済み
can i change simulink blocks execution order
Try using the Block Priorities for individual blocks that you think should be executed first - http://www.mathworks.com/help/sim...

8年以上 前 | 2

回答済み
Arduino support package baud rate
I am not sure which version of the support package you are using, but I am working with 15a and here is a file that might help y...

8年以上 前 | 0

回答済み
Preventing a Matlab Function from recompiling in Simulink
If you can put your MATLAB function block inside Model reference and use the if any changes detected option mentioned here - htt...

8年以上 前 | 0

| 採用済み

回答済み
can we develop detector ball component model for raspberry ????
You can use MATLAB's trackball.m function as the base on a MATLAB function block and feed the Video Capture block inputs to it a...

8年以上 前 | 0

回答済み
How can i make Arduino stand alone without powering it via usb & writeDigitalPin() slow response problem
To make arduino stand alone you need to have the Simulink support package installed - http://www.mathworks.com/hardware-support/...

8年以上 前 | 0

回答済み
Can I upload Arduino Code written in MATLAB using MATLAB Arduino Support Package?
I don't think this is possible using MATLAB support package as the Simulink support package is the one that I most commonly use ...

8年以上 前 | 0

回答済み
Can't use serial send with arduino uno board
I got the same error when trying to use Serial Send which is from the Instrument Control Toolbox, however it went away when I us...

8年以上 前 | 0

回答済み
Unable to do Serial Communication between Arduino and Matlab
If you are trying to turn on LEDs using MATLAB on an Arduino board, you can simplify this by downloading the support package fro...

8年以上 前 | 0

回答済み
How do I create a S-Function with generated Code (Simulink Coder)?
You can create subsystems out of algorithms that are of concern and right click on the subsystem > C/C++ code > generate S-funct...

8年以上 前 | 1

さらに読み込む