Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 1

| A accepté

Réponse apportée
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,:...

plus de 10 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 1

Réponse apportée
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...

plus de 10 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

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

plus de 10 ans il y a | 1

| A accepté

Réponse apportée
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 ...

plus de 10 ans il y a | 4

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

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 4

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 1

| A accepté

Réponse apportée
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 ...

plus de 10 ans il y a | 2

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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. ...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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 ...

presque 11 ans il y a | 0

Réponse apportée
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...

presque 11 ans il y a | 0

Réponse apportée
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...

presque 11 ans il y a | 1

Charger plus