Answered
How to turn on a GPIO/output for one second
Hi Nitesh, Since you want your digital pin(or set of digital pins) to be at a particular state, say HIGH, for 1 sec, you nee...

4 years ago | 0

| accepted

Answered
Raspberry Pi I/O with SIMULINK Model in real-time
Hello Abhigya, You can deploy the entire plant software model + Raspberry Pi GPIO blocks to raspberry pi using one of the below...

4 years ago | 0

Answered
Simulink Support Package for Raspberry Pi Hardware not working on Raspberry Pi 4B
8GB RAM variant needs firmware later than R2020a image. You could either use the R2020b version or customize your existing image...

4 years ago | 0

| accepted

Answered
a problem in code generation
Please note you would need to use "serialdev" function of Raspberry Pi support package to generate code and deploy it the raspbe...

4 years ago | 0

Answered
MATLAB Support Package for Raspberry Pi Hardware Installation question
If you have a non mathworks OS and do not wish to format it, you could still use the support package features by customising the...

4 years ago | 0

| accepted

Answered
Raspberry Pi 3 B Simulink Sensor Implementation SPI
Hello Ferdinand, If you are working with a SPI sensor, you should have the SPI module enabled. In most cases, SPI module(and ...

4 years ago | 1

Answered
Simulink GPS serial read from Raspberry pi problems
Hello Joop, I believe you are using "Monitor & Tune" to see the signal values while the model is running. For monitor & tune, ...

4 years ago | 0

Answered
Will the 2020a home edition work with a raspberry pi 4?
Hi David, To clarify, Raspberry Pi 4B is supported for both MATLAB & Simulink from R2020a. Coming to the SSH issue, I hope y...

4 years ago | 0

Answered
Is it possible to start a Simulink-Model on Raspberry Pi automatically after power is supplied to the hardware?
It is possible to configure a model to always start when the raspberry pi boots up. If you have a MATLAB code deployed to ras...

4 years ago | 0

Answered
Does anyone tried to install MATLAB in raspberry pi 3 B+ Raspbian Buster version? It keeps saying that it is unable to locate the package
Hello Mei Sing Wang, There are two ways in which you can use MATLAB for developing programs to run on Raspberry Pi. Approah 1:...

4 years ago | 1

Answered
How can I connect raspberry pi with arduino via USB port using simulink?
Hi Takamitsu, From what I understand, you are trying to utilize the Raspberry Pi's Serial communication for exchanging data b...

5 years ago | 0

Answered
How to run Raspberry Pi commands on Matlab without using openShell
Hi Rogelio, Just pass the actual linux command as an argument to system. eg: >> system(d,'hostname') -Prasanth

5 years ago | 0

| accepted

Answered
Matlab support for Raspberry Pi 4
Hello Pawel, Raspberry Pi 4B is a significant upgrade over earlier versions. As of today(Sept 2019), the latest release, MATLAB...

5 years ago | 3

Answered
Writing equations in MATLAB function vs using Simulink Blocks
Hello Gibin, As you mentioned the equations were slightly "complex", I would presonally prefer using the MATLAB Fcn. With that ...

6 years ago | 0

Answered
Setting the initial value in a loop
Hi Fazil, Consider connecting Initial Condition (IC) prior to the block. https://www.mathworks.com/help/simulink/slref/ic.ht...

6 years ago | 0

Channel


Android http example

6 years ago

Answered
Comparator block in simscape integrated circuits
Hello Mu Chiao, The block you are referring to belongs to " <https://www.mathworks.com/help/physmod/elec/index.html Simscape ...

6 years ago | 0

Answered
(App Designer) set the dropdown with variable
The reason for this behavior is that the values are set in the DropDownValueChanged instead of startupFcn. If your intention...

6 years ago | 1

Answered
PV array block Ifilter is not working
Like the error message says, there is a missing link to a library block. If you received this model from someone else, I would s...

6 years ago | 0

Answered
Why windows put always the full screen for graphics
Try the below link: <https://www.mathworks.com/matlabcentral/answers/79043-while-working-in-gui-how-i-can-work-with-full-scre...

6 years ago | 0

Answered
GUI Import data: Column names not recognized for large files
This behavior is intentional. In order for the import tool to meet performance expectations, it only processes a certain amount...

6 years ago | 0

| accepted

Answered
what is wrong with my code(FFT)?
Hello Minsoo, The issue here is you are trying to directly plot the MATLAB fft command output, ie DFT - complex values. If I...

6 years ago | 0

| accepted

Answered
How can I deactivate MATLAB on a broken computer from which I only have the HDD left?
<https://www.mathworks.com/matlabcentral/answers/329183-i-have-matlab-installed-on-a-computer-which-is-broken-how-can-i-deactiva...

6 years ago | 0

Answered
How can I fix propagation speed error using Simscape Power System?
Hello Euan, It seems to be an "improper" configuration of the Simscape TL blocks. The error message you see from the model...

6 years ago | 0

Answered
how can i adjust y-axis scale of 'semilogy' function
By default, plot (or any other plotting command) adjusts the y-axis limits to fit the data "compactly". However, you can overri...

6 years ago | 0

| accepted

Answered
App Designer: How do I make the code view editable?
Hi Sarah, I believe this could be due to corrupted paths. You can try the following commands to see if it solves the issue. ...

7 years ago | 0

| accepted

Answered
How can I randomly generate data pairs?
Hi Yusha, There are multiple ways to do that. One way is using randi to generate each column with the appropriate constraints ...

7 years ago | 0

Answered
dfield8 on Matlab2017b
Hello David, A simple google search pointed me to this. <https://udmmath3720f16.wordpress.com/2016/09/23/dfield8-and-pplane8...

7 years ago | 0

Answered
MATLAB connection with Anritsu USB VNA
Hello Chen, Please refer to the below doc page. <https://www.mathworks.com/products/instrument/supported/anritsu.html> Y...

7 years ago | 0

Load more