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

| 수락됨

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

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

| 수락됨

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

| 수락됨

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

| 수락됨

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

| 수락됨

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

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

| 수락됨

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

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

| 수락됨

답변 있음
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년 초과 전 | 4

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

10년 초과 전 | 0

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

| 수락됨

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

| 수락됨

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

| 수락됨

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

답변 있음
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년 초과 전 | 4

| 수락됨

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

| 수락됨

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

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

| 수락됨

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

| 수락됨

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

| 수락됨

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

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

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

| 수락됨

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

| 수락됨

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

| 수락됨

답변 있음
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 ...

10년 초과 전 | 0

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

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

더 보기