Answered
How can I generate the graph of current and voltage respective to time of the model
As shown in <http://www.mathworks.com/help/physmod/simscape/ug/creating-and-simulating-a-simple-model.html this example>, you ne...

10 years ago | 0

| accepted

Answered
Does someone already used PID controller for DC to DC converter here( SEPIC, CUK, ZETA, BUCK-BOOST,etc)? Can someone attach file to me for specific examples..Ty..
If you're using R2014a and later, and you have the System Identification Toolbox, you can get around the difficult task of linea...

10 years ago | 0

Answered
Set configuration parameter in Simulink
For all configuration parameters in a model, you can right-click them and select "What's This?" This will bring up a small windo...

10 years ago | 1

| accepted

Answered
How to add Simulink Library Block programmatically ?
The name of the model is not the same as what shows up on the Library Browser. It just happens to be so for "Simulink", whose li...

10 years ago | 1

| accepted

Answered
Plotting specific values of 2xn array based on values in first row
You want to be looking at row 1 for every index that matches a certain value... let's take 5 for this example. row1 = x(1,:...

10 years ago | 1

| accepted

Answered
How to transmit parameters to PID controller in simulink
Configuring the PID Controller block in this way is new to R2015a, so if you have an earlier version you won't be able to do thi...

10 years ago | 0

| accepted

Answered
Running Simulink Through a m.file For Loop and save data in xlsx file
The key function here is <http://www.mathworks.com/help/simulink/ug/using-the-sim-command.html sim> . Suppose your input vect...

10 years ago | 1

Answered
Is it possible to merge a simscape and SimMechanics model into one model?
Yes, it is possible! You should look into this <http://www.mathworks.com/matlabcentral/fileexchange/37636-simmechanics-simsca...

10 years ago | 1

| accepted

Answered
Is there a way to guaranteed floating point accuracy between MATLAB and SIMULINK?
The discrepance should depend on the numerical solver you are using in MATLAB vs. Simulink. This includes the type of solver, st...

10 years ago | 0

Answered
Implement a load in Simulink
Are you using SimPowerSystems? If so, there is a <http://www.mathworks.com/help/physmod/sps/powersys/ref/threephasedynamicload....

10 years ago | 1

| accepted

Answered
Model walking body in Simulink
The error you included usually occurs when you establish a rigid link (between two joints) with no mass. You can check that for ...

10 years ago | 4

Answered
Does matlab have circuit desgin
Have you looked into <http://www.mathworks.com/products/simelectronics/ SimElectronics>? This product lets you create circuit si...

10 years ago | 0

Answered
How to generate a truncated sine wave using Simulink...?
Use a Sine Wave block and then connect a Saturation block after it (Simulink > Discontinuities), with limits of -0.5 and 0.5. Th...

10 years ago | 0

| accepted

Answered
How can I get a signal from Simulink, use it in a calculation in Matlab, and use this in a feedback loop?
You should be able to use a <http://www.mathworks.com/help/simulink/ug/creating-an-example-model-that-uses-a-matlab-function-blo...

10 years ago | 0

| accepted

Answered
adding Sin into simulation
Indeed, the Sine Wave block assumes constant amplitude, phase, and frequency. In your case, you want the amplitude to vary which...

10 years ago | 0

| accepted

Answered
How to export data from PowerGUI FFT analysis tool to excel?
The most automation-friendly thing would be to use the programmatic approach instead, which is the <http://www.mathworks.com/hel...

10 years ago | 0

Answered
Find first non NaN element in a column of a matrix
Sure, there's lots of functionality that can help you. Here is an example. First, I made up some "fake" data for myself. I ha...

10 years ago | 4

| accepted

Answered
Is code coverage for a model equal to code coverage of generated code?
Not necessarily... Although having 100% model coverage makes it much more likely to have 100% code coverage. There are some f...

10 years ago | 1

| accepted

Answered
Initial condition in state-space block in Simulink
Remember that the initial conditions affect the states *x* and not the outputs *y*. My guess is that your C matrix has some ...

10 years ago | 2

Answered
How to save a model in Simulink Model Explorer
You're right, there somehow is no way to do that. The development team has already heard this request before and it looks like i...

10 years ago | 0

| accepted

Answered
Why I am getting velocity and position as zero even after applying non zero force on linear spring?
Your link was broken but I was able to change the URL until the screenshot came up. So, I see two issues with this model. ...

10 years ago | 0

| accepted

Answered
How to define ROS Publisher and Subscriber Rate in Simulink
You can use MATLAB timers to create "soft" real-time periodic behavior, which uses your CPU clock to handle timing. I'd look at ...

10 years ago | 0

| accepted

Answered
Custom Simscape Language Valve
You definitely need the "nodes" section if you want your custom valve to connect to one of the pre-existing domains. For example...

10 years ago | 0

Answered
Is there a tracking view in Simulink Simmechanics?
Unfortunately, there is no "moving" view in SimMechanics 2G right now. You can do this with Simulink 3D Animation (SL3D), alt...

10 years ago | 0

Answered
What is exact connection between Simscape model and original physical system? Does simscape elements take direction in space?
*Q1:* Rotating the reference blocks does not have any effect on the directionality of the model -- it is purely visual. All S...

10 years ago | 1

| accepted

Answered
Error compiling Simscape network for model: Number of variables exceeds number of equations.
Yep, you have 3 variables (force, deformation, velocity) but only 2 equations. The missing one I believe is the one relating...

10 years ago | 0

| accepted

Answered
Is SimPowersystems => SpecializedTechnology bidirectional and physical
Yes, it will. Both technologies model bidirectional energy flow. In fact, the power flow analysis tools in Specialized Techno...

10 years ago | 0

| accepted

Answered
Question regarding Simulink - how to collect samples of a discrete signal on some interval
I would log the signal and then configure the "Output options" as shown in <http://www.mathworks.com/help/simulink/gui/data-impo...

10 years ago | 0

Answered
Adding Custom Code to specific Simulink Block
The documentation landing page I would refer to is this one: http://www.mathworks.com/help/ecoder/block-authoring.html Tho...

10 years ago | 1

Load more