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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 1

| akzeptiert

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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 1

| akzeptiert

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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 1

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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 1

| akzeptiert

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

fast 11 Jahre vor | 1

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 1

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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 2

| akzeptiert

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

fast 11 Jahre vor | 0

Mehr laden