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

fast 9 Jahre vor | 2

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

fast 9 Jahre vor | 0

| akzeptiert

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

fast 9 Jahre vor | 0

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

fast 9 Jahre vor | 0

| akzeptiert

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

fast 9 Jahre vor | 0

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

fast 9 Jahre vor | 0

| akzeptiert

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

fast 9 Jahre vor | 1

| akzeptiert

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

fast 9 Jahre vor | 0

| akzeptiert

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

fast 9 Jahre vor | 0

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

fast 9 Jahre vor | 0

| akzeptiert

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

fast 9 Jahre vor | 1

| akzeptiert

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

fast 9 Jahre vor | 0

| akzeptiert

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

fast 9 Jahre vor | 1

| akzeptiert

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

fast 9 Jahre vor | 2

| akzeptiert

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

fast 9 Jahre vor | 2

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

fast 9 Jahre vor | 1

| akzeptiert

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

fast 9 Jahre vor | 0

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

fast 9 Jahre vor | 0

| akzeptiert

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

fast 9 Jahre vor | 0

| akzeptiert

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

fast 9 Jahre vor | 0

| akzeptiert

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

fast 9 Jahre vor | 0

| akzeptiert

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

fast 9 Jahre vor | 0

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

fast 9 Jahre vor | 0

| akzeptiert

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

fast 9 Jahre vor | 1

| akzeptiert

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

fast 9 Jahre vor | 0

| akzeptiert

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

fast 9 Jahre vor | 0

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

fast 9 Jahre vor | 0

| akzeptiert

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

fast 9 Jahre vor | 1

| akzeptiert

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

fast 9 Jahre vor | 1

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

fast 9 Jahre vor | 0

| akzeptiert

Mehr laden