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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 1

| akzeptiert

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

mehr als 10 Jahre vor | 1

| akzeptiert

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

mehr als 10 Jahre vor | 1

| akzeptiert

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 1

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

mehr als 10 Jahre vor | 1

| akzeptiert

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 1

| akzeptiert

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

mehr als 10 Jahre vor | 4

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 4

| akzeptiert

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

mehr als 10 Jahre vor | 1

| akzeptiert

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

mehr als 10 Jahre vor | 2

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 1

| akzeptiert

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 1

Mehr laden