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

9 years ago | 2

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

9 years ago | 0

| accepted

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

9 years ago | 0

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

9 years ago | 0

| accepted

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

9 years ago | 0

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

9 years ago | 0

| accepted

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

9 years ago | 1

| accepted

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

9 years ago | 0

| accepted

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

9 years ago | 0

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

9 years ago | 0

| accepted

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

9 years ago | 1

| accepted

Answered
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 (...

9 years ago | 0

| accepted

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

9 years ago | 1

| accepted

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

9 years ago | 2

| accepted

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

9 years ago | 2

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

9 years ago | 1

| accepted

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

9 years ago | 0

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

9 years ago | 0

| accepted

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

9 years ago | 0

| accepted

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

9 years ago | 0

| accepted

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

9 years ago | 0

| accepted

Answered
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, ...

9 years ago | 0

Answered
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,...

9 years ago | 0

| accepted

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

9 years ago | 1

| accepted

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

9 years ago | 0

| accepted

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

9 years ago | 0

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

9 years ago | 0

| accepted

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

9 years ago | 1

| accepted

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

9 years ago | 1

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

9 years ago | 0

| accepted

Load more