Beantwortet
Finding area under the curve of a Simulink signal
The error you get is because you need a Solver Configuration block on that Simscape network with the PS Integrator and the 2 con...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
I need serious help, please.
Do you have access to SimMechanics? http://www.mathworks.com/videos/modeling-an-engine-68848.html - Sebastian

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Simulink: Synchronous Generator plus controlled voltage source - simulation is very slow
What solver are you using? For SimPowerSystems models, the "ode23tb" solver is recommended, and simulation can be pretty slow wi...

fast 11 Jahre vor | 1

| akzeptiert

Beantwortet
why tf is function undefined?how would i risolve it
If you type |ver| in your command window, does Control System Toolbox or Signal Processing Toolbox come up in the list? These ar...

fast 11 Jahre vor | 1

Beantwortet
simulation space vector pwm
Do you have SimPowerSystems? There's a SVPWM block as part of the library: http://www.mathworks.com/help/physmod/sps/powersys...

fast 11 Jahre vor | 0

Beantwortet
How to call a .dll file in S-Function?
Have you seen this link? http://www.mathworks.com/matlabcentral/fileexchange/44197-calling-shared-libraries-from-simulink/con...

fast 11 Jahre vor | 1

Beantwortet
How can I plot the fft of a torque signal from simulink?
Well, the first thing you need to do is make sure that the output signal from Simulink is output at a fixed sampling rate. Furth...

fast 11 Jahre vor | 0

Beantwortet
Hello, I have a problem with the installation of simmechanics link. When i want to install it i get this error. Can someone help me how i can install it?? thanks for your answers
The "install_addon" function comes with the download package. Have you tried switching to the folder where you downloaded Sim...

fast 11 Jahre vor | 0

Beantwortet
How to make the legend selective?
You can specify the graphics objects you want to add to your legend in the "entries" argument of the legend function. Here is...

fast 11 Jahre vor | 2

Beantwortet
abc_to_dq0 transformation with sin_cos input
You can right-click the block and select *Library Link > Disable Link*. This will let you modify the block. Then, right-click...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Implementing a mathematical battery model to a simpowersystem
You can interface the Battery blocks (which use the electrical domain) with physical signals. Just make sure you use a Current S...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
In the 2-d look up table how can we place the values to get same as like this graph.
This seems to be a 1-D lookup table, since the x-axis typically represents your lookup and the y-axis is your output. You can...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Constant pressure flow source in SimHydraulics
You have two options with hydraulics models: constant pressure and constant flow. These blocks can be found under *Simscape > Fo...

fast 11 Jahre vor | 0

Beantwortet
Extracting a signal from a model in Simulink/ SimMechanics
You can use the <http://www.mathworks.com/help/physmod/sm/ref/transformsensor.html Transform Sensor> block and connect it direct...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Function Call Enabled Referenced Models with Temporal Timers
Not 100% sure about this one, but the only workaround I can think of is to feed a Clock block as an input to the Stateflow chart...

fast 11 Jahre vor | 0

Beantwortet
Algebraic loop in Simulink
Instead of using Algebraic Constraint blocks to try guide the initial condition of the algebraic loop solver, you could try brea...

fast 11 Jahre vor | 1

| akzeptiert

Beantwortet
Mechanical input in asynchronous machine
The units of speed depend on whether you're using a pu or an SI block. *If using pu* (Per Unit), then a speed of 1 pu will ro...

fast 11 Jahre vor | 1

Beantwortet
R2010b rng('shuffle') equivalent ?
Here it is (Note: You'll see why it changed in future releases, haha): stream = RandStream('mt19937ar','seed',sum(100*clock...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
How to read data dictionary and esport to mat file
The Simulink Data Dictionary API was officially released after R2014a, and the code sample you have is from the R2015a release. ...

fast 11 Jahre vor | 0

Beantwortet
Change settings in model properties dialog box by matlab command
You can use the following syntax: To change to "Base Workspace": |set_param(bdroot,'DataDictionary','');| To change to "D...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Robotics System Toolbox: How to create a new publisher for a topic for an existing node?
I don't believe that the "official" toolbox syntax is meant to play together with the "robotics.ros.Node" stuff that's hidden aw...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Setting up the load profile for a asyncronous motor
Is the issue that your load profile is power but you can't provide power directly to the Simscape network? *If you have R201...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Execute code in Simulink prior to StartFcn?
Does the InitFcn callback do what you want? InitFcn will run during this model update phase. - Sebastian

fast 11 Jahre vor | 0

Beantwortet
Interpreted custom function in Simulink
Yes -- you can use |coder.extrinsic| to declare those unsupported functions as extrinsic. Check out the "plot" example in the <h...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
3-Rps Parallel Robot
As long as you're using R2013b or later: http://blogs.mathworks.com/seth/2013/11/13/motion-actuation-in-simmechanics-r2013b/ ...

fast 11 Jahre vor | 1

| akzeptiert

Beantwortet
Error in simple calculations
Definitely not a bug -- just floating-point error: http://www.mathworks.com/matlabcentral/answers/57444-faq-why-is-0-3-0-2-0-1-...

fast 11 Jahre vor | 0

Beantwortet
how do i plot a XYZ graph using simulink
There's no off-the-shelf block to do this, but you could always use your own MATLAB code to do this plotting. If you want the...

fast 11 Jahre vor | 3

| akzeptiert

Beantwortet
Stateflow: Using State as transition condition
There are "implicit events" in Stateflow that let you check whether you're in a state, or a state has just been entered. For exa...

fast 11 Jahre vor | 1

| akzeptiert

Beantwortet
automatic switch set by time simulink
You can * Use a Clock block to get the simulation time * Use a Math Function block to get the modulo, so time wraps to zero...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Blocks not showing in Simulink Library browser (R2015a)
I was also able to run into this in R2015a, but it was resolved when I saved the model and refreshed the Library Browser. The...

fast 11 Jahre vor | 1

Mehr laden