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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 0

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

más de 10 años hace | 1

| aceptada

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

más de 10 años hace | 1

| aceptada

Respondida
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,:...

más de 10 años hace | 1

| aceptada

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 1

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

más de 10 años hace | 1

| aceptada

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

más de 10 años hace | 0

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

más de 10 años hace | 1

| aceptada

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

más de 10 años hace | 4

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

más de 10 años hace | 0

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 0

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

más de 10 años hace | 4

| aceptada

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

más de 10 años hace | 1

| aceptada

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

más de 10 años hace | 2

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 0

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

más de 10 años hace | 0

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

más de 10 años hace | 1

| aceptada

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 0

| aceptada

Respondida
Can someone please help with creating a program, that will plot two sinusoidal waveforms (amplitude vs. time) on the same graph. The first waveform specifics is 1V amplitude, and 1kHz freq.; second waveform is 2V amplitude and 2kHz freq.
What you just did adds both the waveforms together before plotting them. Why not try something like: t = (0:0.001:1)'; y1 ...

más de 10 años hace | 0

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

más de 10 años hace | 0

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

más de 10 años hace | 1

Cargar más