Respondida
What is the difference between Scope and Floating Scope ?
First off, they do the same thing. In a Scope block, you have to physically connect Simulink signals to display them in a blo...

alrededor de 9 años hace | 2

Respondida
How can I read the output value of a Unit Delay block after a simulation?
There is a SimState functionality that lets you do this: <https://www.mathworks.com/help/simulink/ug/saving-and-restoring-the...

alrededor de 9 años hace | 0

| aceptada

Respondida
How to model a variable RL branch?
This is the right approach, but as you said it does come with an algebraic loop. You can resolve this loop by adding in a Transf...

alrededor de 9 años hace | 0

Respondida
The difference of Fundamental Components Switch and normal Switch in SimpowerSystems.
You're using R2015a so you should have the domain-specific line colors. Many of the Power Systems Simscape Components blocks ...

alrededor de 9 años hace | 0

| aceptada

Respondida
How to change the signal in Signal Builder Block from m-file?
The Signal Builder block can be accessed programmatically with the |signalbuilder| function. Hopefully the examples in the follo...

alrededor de 9 años hace | 0

Respondida
license plate characters recognition in matlab
There are many examples in the Computer Vision System Toolbox documentation: <https://www.mathworks.com/help/vision/optical-c...

alrededor de 9 años hace | 0

| aceptada

Respondida
Non-converging initial conditions issue while using custom components in simscape
I can't guarantee that any of these solutions will work, but they may be worth a try. * Try handling the negative pressure/fl...

alrededor de 9 años hace | 1

| aceptada

Respondida
how can i get the voltage from the attaced model
There are a few issues with this model: * The current sensor is connected in parallel when it should be in series. * You sho...

alrededor de 9 años hace | 0

| aceptada

Respondida
Simulink differantial equation,simulink scheme
Have you checked out this blog entry? http://blogs.mathworks.com/simulink/2008/05/23/how-to-draw-odes-in-simulink/ Sebasti...

alrededor de 9 años hace | 0

Respondida
How to add a new MATLAB variable to the list of predefined parameters?
For sure. You can add callbacks to your model to execute code when the model is loaded, initialized, simulated, saved, etc. ...

alrededor de 9 años hace | 0

| aceptada

Respondida
How to create a matlab lead battery and linked it to two DC motors?
Have you taken a look at the <https://www.mathworks.com/help/physmod/sdl/examples.html#d0e357 Simscape Driveline hybrid powertra...

alrededor de 9 años hace | 1

| aceptada

Respondida
How to check if any variables share a name with a built-in function?
You can use the |which| function. For example: >> image = 2; >> which -all image image is a variable. built-in (...

alrededor de 9 años hace | 0

| aceptada

Respondida
What is difference between Second generation and Third generation at SympowerSystems
These were later renamed to "Specialized Technology" and "Simscape Components" to help explain this difference. * *Specialize...

alrededor de 9 años hace | 1

| aceptada

Respondida
Im not sure how to tackle this error message, can anyone help?
This is a dimension mismatch error. You're setting |x(i+1)| to an array operation on all of the previous elements of |x|. For...

alrededor de 9 años hace | 2

| aceptada

Respondida
convert multidimensional array to a table with multi indexing
The |array2table| function wants your matrix to be 2-dimensional (or m-by-n, as they say in the documentation). One thing you...

alrededor de 9 años hace | 2

Respondida
Function Block using different thresholds
Have you looked into the <https://www.mathworks.com/help/simulink/slref/relay.html Relay block>? Seems like a good fit for what ...

alrededor de 9 años hace | 1

| aceptada

Respondida
How to move a 7x7 window around image?
You likely want to use the |imfilter| function exactly as in <https://www.mathworks.com/help/images/filter-images-using-imfilter...

alrededor de 9 años hace | 0

Respondida
is it possible to use step for a state space dynamic system with multi input?
Yes. You can use <https://www.mathworks.com/help/control/ref/stepdataoptions.html stepDataOptions> to define an option set and t...

alrededor de 9 años hace | 0

| aceptada

Respondida
cascading mux blocks syntax help needed
Two issues here: * If you look at the example syntax right above where you typed, you need to use MATLAB-style indexing with ...

alrededor de 9 años hace | 0

| aceptada

Respondida
Simple handle problem (I think)
This should work, with the exception that classes in MATLAB are by default "value classes". This means that when you say o...

alrededor de 9 años hace | 0

| aceptada

Respondida
how do I get simulink information on modelling without being trapped by simscape?
This page shows how to model a simple DC Motor with Simulink. You can feel free to ignore the Simscape section at the end as nee...

alrededor de 9 años hace | 0

| aceptada

Respondida
Tuning transfer function to get only positive parameters using Simulink
For all tuned blocks, you can expand the variable name and set their "Minimum" and "Maximum" values. If you set a minimum of 0, ...

alrededor de 9 años hace | 0

Respondida
How can I Programmatically add CAN Pack block to a Simulink Model?
If you open the source block library for the CAN Pack block, select the block, and then type |gcb| at the MATLAB Command Window,...

alrededor de 9 años hace | 0

| aceptada

Respondida
how to simulate a solar pv array with varrying temperature and irradiance under stc and noct conditions?
Both the <https://www.mathworks.com/help/physmod/elec/ref/solarcell.html Simscape Electronics> and <https://www.mathworks.com/he...

alrededor de 9 años hace | 1

| aceptada

Respondida
How to create an inverse kinematics model for robot correctly. It is giving answers to out of bounds points.
You're right in that the solvers will give you a "best available" solution even if it's outside the robot workspace. If you call...

alrededor de 9 años hace | 0

| aceptada

Respondida
How to create automatic projective transformation with regards to camera position
Yes, you can use the |imtransform| function for 2D or 3D rotation and translation... else there are also ways to do projective t...

alrededor de 9 años hace | 0

Respondida
How to make axis continuous based on input
Sure. There's an <https://www.mathworks.com/help/matlab/ref/xlim.html xlim function> in MATLAB that lets you set the axes. F...

alrededor de 9 años hace | 0

| aceptada

Respondida
How to run simulink and m-file simulataneouly?
Looks like it would be easier to process the data in Simulink by calling the MATLAB code from the model. The typical way of d...

alrededor de 9 años hace | 1

| aceptada

Respondida
Transfer function from blocks diagram
It is possible to linearize a Simulink model to get a linear transfer function approximation of the (potentially) nonlinear mode...

alrededor de 9 años hace | 1

Respondida
How to create a conditionally executed subsystem in SimScape?
You can do this with by creating custom components with the <https://www.mathworks.com/help/physmod/simscape/lang/creating-custo...

alrededor de 9 años hace | 0

| aceptada

Cargar más