Answered
Detect red dots with robotic arm and web camera?? Any help with codes...??
You can download USB Webcam support packages for MATLAB, which should let you stream Webcam data right into MATLAB on your PC: ...

11 years ago | 0

Answered
Hidden constants in SIMULINK?
They could be in the <http://www.mathworks.com/help/simulink/ug/using-model-workspaces.html Model Workspace>, which is a great p...

11 years ago | 0

| accepted

Answered
error in Simulink simulation time
*1 - Block-dependent settings:* Check if any of your blocks have an explicit sample time that is too small, by going to Displ...

11 years ago | 0

Answered
Transfer function with time delay (dead time)
You can make a linear approximation of those time delays (Exponentials in the frequency domain) using the Pade Approximation: ...

11 years ago | 0

| accepted

Answered
where to save the mask images?
The images need to be on your <http://www.mathworks.com/help/matlab/matlab_env/what-is-the-matlab-search-path.html MATLAB path> ...

11 years ago | 0

Answered
replacing different elements in a matrix according to different conditions
You can use <http://blogs.mathworks.com/steve/2008/01/28/logical-indexing/ logical indexing> to find elements in a matrix that c...

11 years ago | 1

| accepted

Answered
Running Simulink in steps and in Real Time.
For your first question, there is a <http://www.mathworks.com/matlabcentral/fileexchange/29107-real-time-pacer-for-simulink Real...

11 years ago | 0

| accepted

Answered
Training in Signal Processing with MATLAB
The training rooms are indeed equipped so you don't need your laptop. You will have access to a computer with the latest version...

11 years ago | 0

Answered
I have a synchronous reluctance motor and i design cascade pi controller to control the speed and current of the motor and i need a genetic program for tuning the pi controller
There's a good multi-loop tuning example as part of this video: http://www.mathworks.com/videos/control-system-tuning-in-simu...

11 years ago | 0

| accepted

Answered
How to use Simulink to gain the oscillation frequency of RLC circuit?
1. I think the Spectrum Analyzer block expects a discrete-time signal... So, you can either change the simulation mode of your m...

11 years ago | 0

Answered
Dimensional Incompatibility Error Simulink
# You can use a Mux or Vector Concatenate block on the 2 Step inputs to form a 2-element vector. # Then, use a Gain block with ...

11 years ago | 0

Answered
how to change minPersistanceRatio value in Abandoned Object Detection simulink model?
So this code is inside a MATLAB Function block in a Simulink Model? Try looking at the <http://www.mathworks.com/help/simulin...

11 years ago | 0

Answered
Code generation in Matlab Simulink for Mac OS.
The following page shows you the supported compilers for Mac OS in R2015a: http://www.mathworks.com/support/compilers/R2015a/...

11 years ago | 0

Answered
How to find block Priorities in model using m-script
Looks like this only happens when that |eachBlock| variable is referring to a model (and not an individual block). You can fi...

11 years ago | 1

| accepted

Answered
Plotting State Space Model with Disturbance
I see... In your A matrix, your spring term is |-(-k/m)| , and that double negative makes it positive and therefore an unstab...

11 years ago | 0

| accepted

Answered
subsystem parameter and MATLAB Function
Yes, it is possible. You can go to the Model Explorer (Ctrl+H on Windows), select the MATLAB Function block, and add a new Pa...

11 years ago | 0

| accepted

Answered
How to specify specific motion on sim Mechanics 2nd gen
Motion actuation is possible in R2013b and later. For what you described, this would be a ramp from 0 to 5m which stays constant...

11 years ago | 0

Answered
How to resolve : "Not enough input derivatives were provided for one or more Simulink-PS Converter blocks associated with the highlighted Solver Configuration block, for the solver chosen." ?
Not sure if this is the only problem leading to the error, but looks like the R and F ports of the Revolute-Rotational interface...

11 years ago | 0

Answered
Is it possible to limit motion of a link when it clashes with another link?
Have you taken a look at this? http://www.mathworks.com/matlabcentral/fileexchange/47417-simmechanics-contact-forces-library ...

11 years ago | 0

Answered
Frequency response of an equation
So |wp| is a constant and |w| is the frequency you want to input? Create a vector of frequencies to sample. You probably want...

11 years ago | 0

| accepted

Answered
Data is not visible by simulink plot block
By default, Scope blocks retain only the last 5000 data points to save on memory. If you want all the data to show up: # Open...

11 years ago | 0

Answered
How to connect a Hydraulic Motor in SimHydraulics and a Revolute Joint in SimMechanics
You can connect the hydraulic motor to SimMechanics via physical signals. That is, you can use a combination of Force Sensor and...

11 years ago | 1

Answered
Add signals to Selected signal list of a bus selector block by m script
You can use get_param and set_param on the block's "OutputSignals" parameter to make these modifications programmatically. F...

11 years ago | 0

| accepted

Answered
SimPowerSystems - How to connect three controlled voltage sources delta?
I was able to connect small resistors between the voltage sources to avoid the error. Is this feasible? In the screenshot bel...

11 years ago | 1

| accepted

Answered
How can you change the color of a block based on the input value?
The first thing I could think of was creating a MATLAB Function block that checks the signal incoming to the block. In this bloc...

11 years ago | 1

Answered
Input generation for Coverage testing
If you have Simulink Design Verifier, you can use this to generate test cases for full coverage. Here's a quick video: http:...

11 years ago | 0

Answered
how to have an extension .xml to import a file from solidworks to matlab
To export SolidWorks models as MATLAB compatible XML files, you have to install SimMechanics Link and register it with your Soli...

11 years ago | 1

Answered
Random Stream and mt19937ar with seed
It's a way of generating random numbers. Look at the first example below: http://www.mathworks.com/help/matlab/ref/randstream.h...

11 years ago | 0

| accepted

Answered
Variable resistance in Simscape?
You're right... However, you can make your own custom variable resistor in SimPowerSystems by measuring the voltage and applying...

11 years ago | 2

| accepted

Answered
modeling MIMO system simulink
I'm guessing you're modeling using a linear system representation? You could use the State-Space block (Simulink > Continuous...

11 years ago | 0

Load more