답변 있음
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년 전 | 2

답변 있음
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년 전 | 0

| 수락됨

답변 있음
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년 전 | 0

답변 있음
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년 전 | 0

| 수락됨

답변 있음
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년 전 | 0

답변 있음
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년 전 | 0

| 수락됨

답변 있음
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년 전 | 1

| 수락됨

답변 있음
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년 전 | 0

| 수락됨

답변 있음
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년 전 | 0

답변 있음
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년 전 | 0

| 수락됨

답변 있음
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년 전 | 1

| 수락됨

답변 있음
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년 전 | 0

| 수락됨

답변 있음
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년 전 | 1

| 수락됨

답변 있음
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년 전 | 2

| 수락됨

답변 있음
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년 전 | 2

답변 있음
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년 전 | 1

| 수락됨

답변 있음
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년 전 | 0

답변 있음
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년 전 | 0

| 수락됨

답변 있음
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년 전 | 0

| 수락됨

답변 있음
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년 전 | 0

| 수락됨

답변 있음
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년 전 | 0

| 수락됨

답변 있음
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년 전 | 0

답변 있음
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년 전 | 0

| 수락됨

답변 있음
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년 전 | 1

| 수락됨

답변 있음
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년 전 | 0

| 수락됨

답변 있음
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년 전 | 0

답변 있음
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년 전 | 0

| 수락됨

답변 있음
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년 전 | 1

| 수락됨

답변 있음
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년 전 | 1

답변 있음
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년 전 | 0

| 수락됨

더 보기