Respondida
simulation
Are you asking why Simulink runs faster than real-time? If so, you may want to look at the following File Exchange entries: *...

más de 13 años hace | 0

| aceptada

Respondida
Double Prime
It looks OK to me: <<https://lh4.googleusercontent.com/-okBJXir1qyg/TfIPXNy1BSI/AAAAAAAABYA/jnYEzcI4fkU/s128/G_doubleprime.JP...

más de 13 años hace | 0

Respondida
Compiling M files for dSpace
As Walter suggested, you can't generate C code from a MATLAB S-Function without writing a TLC file. See <http://www.mathworks.co...

más de 13 años hace | 0

Respondida
Creating simulink block and hidding the code
Have a look at the question that Paulo suggested. For what you want to do, I suspect an S-function is the best option. You'll ne...

más de 13 años hace | 0

Respondida
how can I extract internal delay from a discrete system when I convert it to continuous with d2c?
>> H = tf(2,[1 -0.95],0.1,'InputDelay',25) Transfer function: 2 z^(-25) * -------- z - 0.95 ...

más de 13 años hace | 2

| aceptada

Respondida
how to convert function from time domain to frequency domain?
Compute |H(w)| for a range of values of |w| and then use the <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/fft.html...

más de 13 años hace | 0

Respondida
visualization with graphs
This is a standard demo that ships with <http://www.mathworks.com/products/3d-animation/ Simulink 3D Animation> called |vr_octav...

más de 13 años hace | 0

| aceptada

Respondida
Requirements for opening a matlabpool
It depends: if you are using a local scheduler on your own multicore machine, then no. If you are using a grid of computers, the...

más de 13 años hace | 1

Respondida
load syntax
Use the function syntax rather than the command syntax: load(fname_,'-mat') For more details on the function vs. command...

más de 13 años hace | 0

| aceptada

Respondida
Servo Motor and MATLAB
You can't. Have a look at the <http://www.mathworks.com/help/releases/R2011a/toolbox/gauges/rn/bqmgtwa-1.html Release Notes>: ...

más de 13 años hace | 0

| aceptada

Respondida
simulink matlab function block build error
Have you set up your C compiler and target settings in xPC Target Explorer? Have tried running |xpctest|? You should go through ...

más de 13 años hace | 0

| aceptada

Respondida
Simscape blocks in Simulink Models
Yes, it is possible to include Simscape/SimDriveline blocks in Simulink, using the <http://www.mathworks.com/help/releases/R2011...

más de 13 años hace | 1

| aceptada

Respondida
Draw bar graph with non-fixed y values
<http://www.mathworks.com/help/releases/R2011a/techdoc/ref/int2str.html |int2str|> converts an integer into a string so your |y|...

más de 13 años hace | 0

Respondida
error while using "from file" block in SIMULINK
As Andreas suggest, load your MAT file in MATLAB and re-order the data so that the time values are monotonically increasing. Yo...

más de 13 años hace | 1

Respondida
simulink question
The reason for the first warning is because you don't have any continuous states in your model, only discrete states, so Simulin...

más de 13 años hace | 1

Respondida
Doubt in circuit of battery
You can't connect Simscape and SimPowerSystems components together, Have a look at <http://www.mathworks.com/matlabcentral/newsr...

más de 13 años hace | 1

Respondida
while loop in simscape language
|while| and |for| loops are not allowed in the Simscape language, see the <http://www.mathworks.com/help/releases/R2011a/toolbox...

más de 13 años hace | 1

| aceptada

Respondida
Can Stateflow use Microsoft Excel data for simulation input?
Import the data into MATLAB using import wizard or <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/xlsread.html |xlsr...

más de 13 años hace | 3

| aceptada

Respondida
Import and combine multiple XYZ.txt data files into one X, Y and Z column vectors
I don't think you can import all the files at once, but you can do so in a loop and append the data from each file to what has a...

más de 13 años hace | 1

| aceptada

Respondida
Joint Sensor - simmechanics
With regards to your first question, that shouldn't happen. The dynamics of the machine shouldn't change depending on what you c...

más de 13 años hace | 0

| aceptada

Respondida
system of differential equations
Write down the equations on paper and then implement them using the various blocks available in Simulink. A tip: it's generally ...

más de 13 años hace | 0

Respondida
Toolbox vs. library
A toolbox is typically a collection of MATLAB functions and a library a collection of Simulink blocks. Having said that, many MA...

más de 13 años hace | 1

| aceptada

Respondida
Real time windows target problem
Windows 7 wasn't supported for R2008a, see <http://www.mathworks.co.uk/support/sysreq/release2008a/index.html System Requiremen...

más de 13 años hace | 0

Respondida
Estimation of transfer function
For frequency-domain data, there are three types of id models supported by the System Identification Toolbox(see <http://www.mat...

más de 13 años hace | 0

Respondida
matlabpool RAM occupation
Does the RAM usage come back down when running |matlabpool close|? Remember that |matlabpool open 8| is equiavelent to starting ...

más de 13 años hace | 3

| aceptada

Respondida
How to set the Simulink runtime and time steps from the workspace
I would advise you to set the output options (Simulation -> Configuration parameters, Data import/export tab) to "produce specif...

más de 13 años hace | 1

| aceptada

Respondida
closedloop with delay and difference between Inputdelay and Outputdelay
You have no choice but to use state-space: >> feedback(ss(Gp),tf([1],[1])) a = x1 x2 x1 -10 -...

más de 13 años hace | 1

| aceptada

Respondida
How can I convert handle function to a string
You can do |char(f)| but I don't think this will work with <http://www.mathworks.com/help/releases/R2011a/toolbox/symbolic/solve...

más de 13 años hace | 0

Respondida
How to iterate through the ports of a block/model
Select a block and then use: get_param(gcb,'PortHandles') Here's an example when selecting a mux block with one input po...

más de 13 años hace | 0

Respondida
How can i create a color vector for markers in a scatter plot?
It depends what you mean by the "right colour settings". The following will give you a C matrix of the right size, but whether t...

más de 13 años hace | 0

Cargar más