Answered
Make a pendulum that moves according to an equation of motion
If your pendulum has one Revolute Joint, then you need to have either the motion input or the force input as "automatically comp...

11 years ago | 0

| accepted

Answered
How can i load data from powergui
If you want the data in MATLAB, you can use the command-line equivalent to the powergui FFT Analysis. This is the |power_ffts...

11 years ago | 1

Answered
How to plot phase margin
One of the most awesome things about MATLAB is the "dot multiply" and "dot divide" operators that lets you do this relatively ea...

11 years ago | 0

Answered
Simulink, modeling of force which is a function of AC voltage
To clarify your question, are you using Simulink or Simscape to model this? Also, are you running into problems with the actual ...

11 years ago | 1

| accepted

Answered
2D LUT (extrapolation) Simulink vs interp2
Looks like |interp2| is designed to return NaNs by default unless your interpolation method is |'spline'| . You can change th...

11 years ago | 0

Answered
Manage powerpoint on Matlab
Have you seen this Answer from the MathWorks Support Team? http://www.mathworks.com/matlabcentral/answers/103175-how-can-i-crea...

11 years ago | 0

| accepted

Answered
How to influence order of automatic generated C-Code from Simulink Model
Yes, there is a block sorted order in all blocks in Simulink. <http://www.mathworks.com/help/simulink/ug/controlling-and-display...

11 years ago | 0

| accepted

Answered
Solving matrix differential equation in Simulink
Sure you can! You can use the Integrator block to go from X' to X. Depending on the dimension of your A matrix (N-by-N), you can...

11 years ago | 2

| accepted

Answered
Passing slider value to the simulink model
If your block is currently selected, you can use |gcb| to get the block's name. >> get_param(gcb,'gain') >> set_param(gc...

11 years ago | 0

Answered
How to change color of a block in simulink when you perform copy
You can use <http://www.mathworks.com/help/simulink/ug/block-callbacks.html block callbacks> to do this. # Right-click the bl...

11 years ago | 0

Answered
Plot step response w/ smallest rise time, dependant on Kp & Kd constraints, assuming lowest natural freq.
To get the rise time for your system, you can always use the <http://www.mathworks.com/help/control/ref/stepinfo.html stepinfo> ...

11 years ago | 0

Answered
what is Release 14 (R14)
Starting with MATLAB 7.0 (R2006a), MathWorks has been releasing twice a year ever since then -- hence the "a" and "b" releases. ...

11 years ago | 1

| accepted

Answered
Extremely small flow rates?
I see a few things that could contribute: 1. The Variable Displacement Hydraulic Machine block has nothing connected to the "...

11 years ago | 0

| accepted

Answered
How to implement a multi-dimensional lookup table in Simscape model?
Currently, Simscape only supports up to 2-D Lookup Tables. Your approach of using the Simulink n-d Lookup Table block is corr...

11 years ago | 0

Answered
How to achieve automatic simulation
The following documentation page will show you much of what you need to know to run simulations programmatically. http://www.ma...

11 years ago | 0

Answered
Parameterize Simulink Goto and From
I answered to the previous question you referred to: http://www.mathworks.com/matlabcentral/answers/139841-how-to-create-dynami...

11 years ago | 1

Answered
How to create dynamic goto tag names in Simulink?
You should be able to make a self-modifying block using <http://www.mathworks.com/help/simulink/ug/block-callbacks.html Block Ca...

11 years ago | 0

Answered
send data in frame based mode in Simulink
To convert a sample-based signal to frame-based, you use the <http://www.mathworks.com/help/dsp/ref/buffer.html Buffer> block in...

11 years ago | 0

Answered
How can I pass a piecewise-defined function to Simulink?
Is your file changing during simulation, or can you just read it at the beginning of simulation? If it's the latter, you can ...

11 years ago | 0

| accepted

Answered
define 1D array in simulink
In Simulink, your array should have at least 2 columns -- the first column is always the time, and all subsequent columns are th...

11 years ago | 0

Answered
Creation of Simulink Libraries
Yes, you can do this. When you drag a block in from a library, it essentially copies and pastes it into your new model. So, t...

11 years ago | 0

| accepted

Answered
simulink model running acceleration
Some ideas, assuming you're using SimPowerSystems Specialized Technology: # Do you see any warnings displayed in the <http://...

11 years ago | 0

Answered
How to prevent a background subsystem from opening
The easiest thing, although not necessarily the most feasible, would be to upgrade to R2015a if you can. In this release, Simuli...

11 years ago | 1

Answered
Processing live video feed with Computer Vision Package
Absolutely. If you have Image Acquisition Toolbox, you can do this with <http://www.mathworks.com/help/imaq/imaq.videodevice.htm...

11 years ago | 1

| accepted

Answered
Can I use both pu and SI machines in SimPowerSystems
You should be able to, so long as your parameters and inputs are consistent for each block. For example, you can supply a power ...

11 years ago | 0

Answered
Simulink plotting of values
You can use <http://www.mathworks.com/help/simulink/ug/model-callbacks.html Model Callbacks> to run MATLAB code when your simula...

11 years ago | 0

Answered
Modelling a transfer function on simulink?
Simulink has a <http://www.mathworks.com/help/simulink/slref/transferfcn.html Transfer Function> block you can directly use to d...

11 years ago | 0

Answered
how can we find the values of active power(p) and reactive power(q) values from the supply lines in simulink
Are you using SimPowerSystems? If so, there are <http://www.mathworks.com/help/physmod/sps/powersys/ref/power.html single-pha...

11 years ago | 0

Answered
Numeric precision using colon
This is often associated with floating-point rounding error. The value "0.02" is not exactly represented using the "double" data...

11 years ago | 1

Answered
In a non linear translational spring, is it possible to provide force deflection data directly instead of stiffness Vs deflection ?
I'm guessing you're using the Nonlinear Translational Spring from SimDriveline library? The only parameterization under "By look...

11 years ago | 0

Load more