Feeds
已回答
How to Center a Specific Block in the Simulink Window
Hi @長谷川, I've found two ways to zoom through a Simulink window while centering on a specific block: Select the entire model an...
How to Center a Specific Block in the Simulink Window
Hi @長谷川, I've found two ways to zoom through a Simulink window while centering on a specific block: Select the entire model an...
4 days 前 | 0
已回答
plot depth values for each location (latitude, longitude)
Hi @Tiziano Bagnasco, I assume you want to get a spherical plot with elevations from your data. To do so, the 'surf' function c...
plot depth values for each location (latitude, longitude)
Hi @Tiziano Bagnasco, I assume you want to get a spherical plot with elevations from your data. To do so, the 'surf' function c...
6 days 前 | 0
已回答
How to assign value from a struct to a bus
Hi @Nicolò Binda, To create a bus object from a MATLAB structure, you can make use of the 'createObject' function of the 'Simul...
How to assign value from a struct to a bus
Hi @Nicolò Binda, To create a bus object from a MATLAB structure, you can make use of the 'createObject' function of the 'Simul...
7 days 前 | 0
已回答
Map a surface plot to another if both the functions have same domain.
Hi @Prasanna Routray, I am assuming 'f2' maps to the same grid size as 'f1'. If so, then the size of the interpolated surface o...
Map a surface plot to another if both the functions have same domain.
Hi @Prasanna Routray, I am assuming 'f2' maps to the same grid size as 'f1'. If so, then the size of the interpolated surface o...
11 days 前 | 0
已回答
How to configure number of CORDIC iterations used in Real Divide HDL Optimized Block?
Hi @Urvish, I see that you're using MATLAB R2022b, but the 'CORDIC maximum shift value' parameter was added to the 'Real Divide...
How to configure number of CORDIC iterations used in Real Divide HDL Optimized Block?
Hi @Urvish, I see that you're using MATLAB R2022b, but the 'CORDIC maximum shift value' parameter was added to the 'Real Divide...
11 days 前 | 0
| 已接受
已回答
Dimensions error between data and bus definition when using "From File" block
Hi @Akash, The error you are receiving is because the datatypes of the signals in the 'anemoA.mat' file and in the bus definiti...
Dimensions error between data and bus definition when using "From File" block
Hi @Akash, The error you are receiving is because the datatypes of the signals in the 'anemoA.mat' file and in the bus definiti...
12 days 前 | 0
已回答
What function to use to calculate a vector of variance ratios
Hi @Jack Bratton, You can use the 'vratiotest' function that you've mentioned to get the variance ratios across a vector. Norma...
What function to use to calculate a vector of variance ratios
Hi @Jack Bratton, You can use the 'vratiotest' function that you've mentioned to get the variance ratios across a vector. Norma...
12 days 前 | 0
已回答
Question regarding the NMPC example of the pendulum
Hi @patr chri, The code provided is trying to calculate the states of the pendulum at time 'k+1' which is at time 'Ts'. The sta...
Question regarding the NMPC example of the pendulum
Hi @patr chri, The code provided is trying to calculate the states of the pendulum at time 'k+1' which is at time 'Ts'. The sta...
14 days 前 | 0
已回答
Why do we divide the variance by 255^2 when adding Gaussian noise in MATLAB?
Hi @jiang yutong, I went through the documentation of the 'imnoise' function to understand this, here's the link: https://www....
Why do we divide the variance by 255^2 when adding Gaussian noise in MATLAB?
Hi @jiang yutong, I went through the documentation of the 'imnoise' function to understand this, here's the link: https://www....
15 days 前 | 0
已回答
How do I convert a regular map image (jpg/png file) to a basemap in order to display using geoaxes?
Hi Barak, The basemaps used in displaying geoaxes are not simple images. They are made using vector and rasterized data with th...
How do I convert a regular map image (jpg/png file) to a basemap in order to display using geoaxes?
Hi Barak, The basemaps used in displaying geoaxes are not simple images. They are made using vector and rasterized data with th...
1 month 前 | 0
已回答
Finite Element Analysis for Fixed Ended Beam with a Point Load example: I am getting this error: Error using * Incorrect dimensions for matrix multiplication. Check that the number of columns in the first matrix matches the number of rows in the se
Hi @Hamza Aboumaray, The error in your code is caused because the dimensions of the matrices ‘K’ (4X4) and ‘d’ (6X1) are not s...
Finite Element Analysis for Fixed Ended Beam with a Point Load example: I am getting this error: Error using * Incorrect dimensions for matrix multiplication. Check that the number of columns in the first matrix matches the number of rows in the se
Hi @Hamza Aboumaray, The error in your code is caused because the dimensions of the matrices ‘K’ (4X4) and ‘d’ (6X1) are not s...
1 month 前 | 0
已回答
PID controller - How can I get specific data about the output I receive
Hi @Gabriel Levit, I see that you want to iterate over the output values of your simulation to get Rise time, Settling time, et...
PID controller - How can I get specific data about the output I receive
Hi @Gabriel Levit, I see that you want to iterate over the output values of your simulation to get Rise time, Settling time, et...
1 month 前 | 0
已回答
Change the material of th disque and the shaft
Hi @Amira, I assume you want to know how to programmatically change material properties of certain Simscape blocks. The ‘get_p...
Change the material of th disque and the shaft
Hi @Amira, I assume you want to know how to programmatically change material properties of certain Simscape blocks. The ‘get_p...
1 month 前 | 0
已回答
How can insert a 'bodeplot' in an axes object of AppDesigner.
Hi @Victor Crespo, The support for ‘UIAxes’ handles in ‘bodeplot’ for App Designer was added from R2020b. I would suggest to up...
How can insert a 'bodeplot' in an axes object of AppDesigner.
Hi @Victor Crespo, The support for ‘UIAxes’ handles in ‘bodeplot’ for App Designer was added from R2020b. I would suggest to up...
1 month 前 | 0
已回答
addlistener error - updating from handle.listener
Hi Kaden, According to the documentation of the ‘addlistener’ function, only properties whose class can set the ‘GetObservable...
addlistener error - updating from handle.listener
Hi Kaden, According to the documentation of the ‘addlistener’ function, only properties whose class can set the ‘GetObservable...
2 months 前 | 0
已回答
I have to do a 3D plot for rotating disk but i am not getting a 3D plot
Hey @Noor, I ran your code and the final plot obtained is actually a 3d plot but looks 2d because it’s a top down perspective. ...
I have to do a 3D plot for rotating disk but i am not getting a 3D plot
Hey @Noor, I ran your code and the final plot obtained is actually a 3d plot but looks 2d because it’s a top down perspective. ...
2 months 前 | 0
| 已接受
已回答
Handle.listener, how to update code?
Hi Kaden, To update code from using ‘handle.listener’ to ‘addlistener’, the ‘eventName’ or the third argument needs to be chang...
Handle.listener, how to update code?
Hi Kaden, To update code from using ‘handle.listener’ to ‘addlistener’, the ‘eventName’ or the third argument needs to be chang...
2 months 前 | 0
已回答
transferring data element between charts in stateflow
Hi @Ahmad Falih, To use input data in a Stateflow chart from other charts or Simulink blocks, the symbol (variable) for the da...
transferring data element between charts in stateflow
Hi @Ahmad Falih, To use input data in a Stateflow chart from other charts or Simulink blocks, the symbol (variable) for the da...
3 months 前 | 0
已回答
How to get Symbols list of stateflow chart through command window
Hi @Nikhil Boddula, To get the symbols used in a Stateflow chart programmatically, the ‘find’ function can be used to retrieve...
How to get Symbols list of stateflow chart through command window
Hi @Nikhil Boddula, To get the symbols used in a Stateflow chart programmatically, the ‘find’ function can be used to retrieve...
3 months 前 | 0
已回答
How to trigger an excel file download in chrome from Matlab. (403 with message "Forbidden" )
Hi @Ernesto Lopez Mondragon, The status code given in the error is 403 which means that the request was recognized by the serve...
How to trigger an excel file download in chrome from Matlab. (403 with message "Forbidden" )
Hi @Ernesto Lopez Mondragon, The status code given in the error is 403 which means that the request was recognized by the serve...
3 months 前 | 0
已回答
Angle measurement from video discontinuity problem
Hi @AC, On running the code and trying to debug it, I found that the 'jump' in angle values is because of the values of 'x1','y...
Angle measurement from video discontinuity problem
Hi @AC, On running the code and trying to debug it, I found that the 'jump' in angle values is because of the values of 'x1','y...
3 months 前 | 0
已回答
How can I access Simscape Multibody solid properties calculated via geometry in a script?
Hi @Alejandro, Accessing the derived values, such as center of mass, moments of inertia, etc. that are calculated from geometry...
How can I access Simscape Multibody solid properties calculated via geometry in a script?
Hi @Alejandro, Accessing the derived values, such as center of mass, moments of inertia, etc. that are calculated from geometry...
3 months 前 | 0
已回答
How to get rid of this error I get while linearizing a plant by simulating input/output data
Hi @KUNAPULI SRINIVAS, This error is caused due to the solver not being in single tasking mode. That means using a fixed step ...
How to get rid of this error I get while linearizing a plant by simulating input/output data
Hi @KUNAPULI SRINIVAS, This error is caused due to the solver not being in single tasking mode. That means using a fixed step ...
3 months 前 | 0
已回答
I want to check this property with code in Simulink StateFlow. I found that there is no direct identifier. Is there any way to check this option? (Create output for monitoring
Hi @Fangping, To programmatically check the option “Create output for monitoring” in the Stateflow chart’s properties, you can ...
I want to check this property with code in Simulink StateFlow. I found that there is no direct identifier. Is there any way to check this option? (Create output for monitoring
Hi @Fangping, To programmatically check the option “Create output for monitoring” in the Stateflow chart’s properties, you can ...
3 months 前 | 0
已回答
Need Help with the code. Why I am getting the zero value for V., G_V and K_V?
Hi @Nikhil, The reason for why the values of matrix “K_V” is coming out to be zero is because the values are being initialized ...
Need Help with the code. Why I am getting the zero value for V., G_V and K_V?
Hi @Nikhil, The reason for why the values of matrix “K_V” is coming out to be zero is because the values are being initialized ...
3 months 前 | 1
| 已接受
已回答
Can the Simscape DC Motor block be used to represent a BLDC motor?
Hi @Michael P, BLDC motors are just a more efficient DC motor because of their brushless design. The use cases and physics s...
Can the Simscape DC Motor block be used to represent a BLDC motor?
Hi @Michael P, BLDC motors are just a more efficient DC motor because of their brushless design. The use cases and physics s...
3 months 前 | 0
已回答
Why does imagesc show different outputs for the same input matrix?
Hi @Sumit, From what I can tell, the reason the two figures are slightly different is because for figure 1 the colors are being...
Why does imagesc show different outputs for the same input matrix?
Hi @Sumit, From what I can tell, the reason the two figures are slightly different is because for figure 1 the colors are being...
4 months 前 | 0
已回答
Problem in creating physics engine for a bouncing spring-mass cube
Hi @Ahmed Ghazal, To calculate the net forces on the block at every time step, the forces need to be updated at every time step...
Problem in creating physics engine for a bouncing spring-mass cube
Hi @Ahmed Ghazal, To calculate the net forces on the block at every time step, the forces need to be updated at every time step...
4 months 前 | 0
已回答
How do I phase shift a Simulink signal?
Hi Tevel, I see that you are creating an input signal by adding two sine wave signals, then splitting the input signal, one of ...
How do I phase shift a Simulink signal?
Hi Tevel, I see that you are creating an input signal by adding two sine wave signals, then splitting the input signal, one of ...
4 months 前 | 0
已回答
Copy Block Mask GUI from Model to MATLAB App
Hi Daniel, To programmatically get the mask of any block in a Simulink model, the ‘get’ function of the ‘Simulink.Mask’ class ...
Copy Block Mask GUI from Model to MATLAB App
Hi Daniel, To programmatically get the mask of any block in a Simulink model, the ‘get’ function of the ‘Simulink.Mask’ class ...
4 months 前 | 0