已回答
Different SNR value - blockset
In general, you could use a <http://www.mathworks.com/help/toolbox/simulink/slref/foreach.html For Each subsystem> inside Simuli...

13 years 前 | 0

| 已接受

已回答
Anything wrong with this PWM generation model?
I see that you changed the solver and zero-crossing settings and presume you have read through the various <http://www.mathworks...

13 years 前 | 0

已回答
Function capability in Matlab
The argument list to the function should be the variable names themselves and not a string (within quotes) of the variable name....

13 years 前 | 1

| 已接受

已回答
How to: Make a simulink block to read in a data file?
I am not aware of a block in Simulink that can read from a normal ASCII file (you could potentially write your own Level-2 MATLA...

13 years 前 | 0

已回答
how can i solve this problem about 'OUT OF MEMORY'
There is an excellent resource on understanding how MATLAB uses memory and how you can avoid out of memory issues - <http://ww...

13 years 前 | 1

已回答
MATLAB Simulink communication in real time
One way to tune the parameter based on a change in a variable in the MATLAB workspace is to 'update' the model while it is still...

13 years 前 | 4

| 已接受

已回答
How to detect frequency of a sinusoidual signal with s-function?
Provided you are not interested in generating code from the resulting Simulink model, <http://www.mathworks.com/help/toolbox/sim...

13 years 前 | 0

已回答
polyfit and code generation
The <http://www.mathworks.com/help/toolbox/signal/br7exek-1.html list of supported functions> doesn't seem to suggest that POLYF...

13 years 前 | 0

已回答
Error with dynamically created m-files
This is because there is no guarantee that there is a refresh of your file path and your new file may or may not be picked up. A...

13 years 前 | 0

| 已接受

已回答
Fitting a Gamma distribution with threshold parameter: error message?
The error points to the MINUS operator. It appears that the variables x and n (and hence pEmp?) have the same dimensions and par...

13 years 前 | 0

| 已接受

已回答
making a text figure
TEXT usually lives under $matlabroot\toolbox\matlab\graph2d\text - if you do not find it there, I'd re-install MATLAB.

13 years 前 | 0

已回答
Look up table for a dynamics problem
One way to do this would be to create a MAT file with the data (there are some interpolation functions to generate the data auto...

13 years 前 | 0

已回答
Bus in Simulink
I am suspecting that you created a Simulink.BusElement, assigned it as element to a Simulink.Bus and used the Simulink.Bus objec...

13 years 前 | 0

已回答
cross correlation matrix
XCORR should be helpful and the <http://www.mathworks.com/help/toolbox/signal/xcorr.html doc> page has all the info required wit...

13 years 前 | 0

已回答
Simulink Subsystems
I cannot think of a way to stop simulation of one part of a Simulink model while the other is running - doesn't seem to follow m...

13 years 前 | 0

已回答
How to estimate the auto-correlation function value r(k)=E[X(n)X(n-k)]
XCORR will return the autocorrelation values and the associated lags at which these values were calculated. The <http://www.math...

13 years 前 | 1

| 已接受

已回答
Simulating model in command window without using workspace.
1. If I understand your question right, by parameters you mean variables that you have specified in the model's block parameters...

13 years 前 | 0

已回答
combine multiple text files into one text file
I prefer to use <http://www.mathworks.com/help/techdoc/ref/textread.html TEXTREAD> in such cases. You could pass in different fi...

13 years 前 | 0

已回答
Reverse matrix position
Accessing row values in the reverse order will get you there: x(end:-1:1,:)

13 years 前 | 0

| 已接受

已回答
Why do I get zero?
The next highest floating point number representable relative to the current number is probably the issue here. Please read furt...

13 years 前 | 0

| 已接受

已回答
Input different DC voltage at different time Simulink
There are many options to do this in Simulink and can be found at: <http://www.mathworks.com/help/toolbox/simulink/ug/bsuwn_8.h...

13 years 前 | 1

已回答
Simulink Fixed Point Advisor
The Fixed-point advisor can only be used from a model or subsystem in the model that is not linked to a library. If your model c...

13 years 前 | 1

| 已接受

已回答
command doesn't work from inside a loop in a script but works fine in the command window
There are a couple of possible reasons: 1. Like Paulo said, there could be a file called z.m - it will be picked up by MATLAB...

13 years 前 | 1

已回答
How to get the port types and dimensions for a block
You can get the dimensions and data types of a block's port after you put the model into a 'compiled' state. The model([],...

13 years 前 | 2

已回答
Print Function - Error
The error message seems to suggest that the file name is incomplete. ??? Error using ==> inputcheck at 34 Multiple i...

13 years 前 | 0