回答済み
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...

4ヶ月 前 | 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...

5ヶ月 前 | 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...

5ヶ月 前 | 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...

5ヶ月 前 | 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...

6ヶ月 前 | 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. ...

6ヶ月 前 | 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...

6ヶ月 前 | 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...

6ヶ月 前 | 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...

6ヶ月 前 | 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...

6ヶ月 前 | 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...

6ヶ月 前 | 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...

6ヶ月 前 | 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 ...

6ヶ月 前 | 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 ...

6ヶ月 前 | 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 ...

6ヶ月 前 | 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...

6ヶ月 前 | 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...

7ヶ月 前 | 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...

7ヶ月 前 | 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 ...

7ヶ月 前 | 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 ...

7ヶ月 前 | 0

回答済み
Automatic Animation Playback Outside Livescripts
Hi @Sebastian, There's no direct way to include playback features for animated plots but I did manage to create a simple workar...

7ヶ月 前 | 0

| 採用済み

回答済み
loop through columns,select three columns and surface plot, then do the same for next three columns
Hi @Abdul Rasyid Haron, To use data from a spreadsheet, the 'readtable' and 'readmatrix' functions can be used to extract the d...

7ヶ月 前 | 0

回答済み
Create shortcut to pushbutton
Hi @zeyneb khalili, To create a shortcut for push button in MATLB figures, the ‘KeyPressFcn’ and ‘KeyReleaseFcn’ callbacks of ...

7ヶ月 前 | 0

回答済み
what is ellipsoidal height in the local origin?
Hi @vasili, Ellipsoidal height is the height measured from the reference of ellipsoid approximation of the earth's surface and ...

7ヶ月 前 | 1

| 採用済み

回答済み
KeyPressFcn and WindowKeyPressFcn not working
Hi @André, From what I understand, you want the focus to come back to the parent figure after the button has been clicked, th...

7ヶ月 前 | 0

| 採用済み

回答済み
Convert Python tuple output into MATLAB array
Hi @Francesco, I see that you want a way to pass arrays in a python tuple and use them in MATLAB. The python tuple can be passe...

7ヶ月 前 | 0

回答済み
How to place a sub-axis at a fixed distance from figure border?
Hi @Francesco, To have the sub axis at fixed distances from figure borders instead of relative distances, the 'Units' property ...

8ヶ月 前 | 0

| 採用済み

回答済み
ploting vectorial expression in 3D question
Hi Fima, The electromagnetic wave can be plotted using the “plot3” function and the arrow heads can be plotted using the “quive...

8ヶ月 前 | 0

回答済み
SimScape source for angular postion
Hi Jack, From what I understand, you want to provide angular position as an input source to your mechanical system. Although th...

8ヶ月 前 | 0

回答済み
PQ theory can't work in single phase
Hi @Thanapon, The reason the model is not able to run is because there’s a division by zero happening in the first time step. S...

8ヶ月 前 | 0

さらに読み込む