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

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

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

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

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

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

3 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

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

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

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

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

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

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

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

4 years ago | 0

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

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

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

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

5 years ago | 0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

dfield8 on Matlab2017b

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

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

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

5 years ago | 0

Answered

Pivot table using grpstats

Hi, I understand that you want to compute the stats without using any grouping variable. It could be done as follows: >>su...

Pivot table using grpstats

Hi, I understand that you want to compute the stats without using any grouping variable. It could be done as follows: >>su...

5 years ago | 0

Answered

Is it possible to run an .exe file created with deploytool without a paid toolbox?

Hello Ki Beom, I understand that you want to create an exe from a MATLAB toolbox installed your machine and deploy it to a mac...

Is it possible to run an .exe file created with deploytool without a paid toolbox?

Hello Ki Beom, I understand that you want to create an exe from a MATLAB toolbox installed your machine and deploy it to a mac...

5 years ago | 0

Answered

Smoothing noisy 2D data

Hello Laurence, You can try masking your data using a simple 2D moving average. Please refer to this ML answer post to get sta...

Smoothing noisy 2D data

Hello Laurence, You can try masking your data using a simple 2D moving average. Please refer to this ML answer post to get sta...

5 years ago | 0

Answered

running matlab function multiple times from windows command line

Hello Mustafa, What I understand is you basically want to restart MATLAB every 30 min through a windows shell script. I would ...

running matlab function multiple times from windows command line

Hello Mustafa, What I understand is you basically want to restart MATLAB every 30 min through a windows shell script. I would ...

5 years ago | 0

Answered

run code sections in matlab R2017b.

Hello Claudio, This behavior is by design. Having this capability allows section evaluation to access local functions which s...

run code sections in matlab R2017b.

Hello Claudio, This behavior is by design. Having this capability allows section evaluation to access local functions which s...

5 years ago | 0

Answered

Joint probability calculations w/ three variables

You can combine the condition on all the three variables together in a single expression as shown below. Letâ€™s say *z* is a m...

Joint probability calculations w/ three variables

You can combine the condition on all the three variables together in a single expression as shown below. Letâ€™s say *z* is a m...

5 years ago | 0

| accepted

Answered

How to use a variable as an 'importdata' string

Hi Alex, The issue is not with the "importdata" function. The below command which you used to concatenate the two char arr...

How to use a variable as an 'importdata' string

Hi Alex, The issue is not with the "importdata" function. The below command which you used to concatenate the two char arr...

5 years ago | 0