Risposto
C compiler for MATLAB in 64-bit windows
The 64 Bit LCC is not supported for MATLAB on Win 64. For your other issue, please provide the MATLAB Release information.

circa 14 anni fa | 0

Risposto
Sfunction compiler in matlab 64bit version.
That is because the LCC Compiler is not a supported compiler for Win 64. http://www.mathworks.de/support/compilers/R2011b/win...

circa 14 anni fa | 0

Risposto
reordering the data
What about generating two random numbers as indices and swapping the data of the indices? And then do this in a loop. clc ...

circa 14 anni fa | 1

| accettato

Risposto
how can we call a scope to workspace witout opening the model file?
In my view, you can run the simulation with the SIM command, but not open the scope. However, you can use the simulation data to...

circa 14 anni fa | 0

Risposto
Trouble with surf
Your code executes fine on my machine. z is not complex in my case. One idea I have is, that you have multiple ABS functions ...

circa 14 anni fa | 0

| accettato

Risposto
simulink model
That should be done by modifying the denominator of a "Transfer Fcn" block. In this cases, the denominator is [1 0 0].

circa 14 anni fa | 1

Risposto
Poisson random number generator
If this is an acadamic exercise - you can look at the literature refererence % References: % [1] Devroye, L. (19...

circa 14 anni fa | 3

| accettato

Risposto
matlab says undefined variable even for defined variables
My best guesswork with out code is that you use functions and not scripts and that the respective varaibles are just present in ...

circa 14 anni fa | 0

Risposto
error in port widths and dimensions
Specific help can be given knowing the exact signal specifications. As this might be difficult to describe, providing the model ...

circa 14 anni fa | 0

Risposto
edited-making value 0
So you want to have random number, but always the same set of random numbers? Check out RandStream.

circa 14 anni fa | 0

Risposto
Two Figures with multiples in one loop
Just make sure you use the figure handles before plotting into the one or the other figure. Example code h1=figure; h2=f...

circa 14 anni fa | 0

Risposto
Real-time Windows Target and Windows 7
I'd say this is mainly about 32/64 bit: http://www.mathworks.de/products/rtwt/requirements.html Typically new machines are...

circa 14 anni fa | 0

Risposto
getting this error
This may be a confusion with rows and columns. E.g. this code here fails: a=[1 2 3 ] a(1:2, :) Beacuse a is an 1x3 ma...

circa 14 anni fa | 0

| accettato

Risposto
Out of memory ?
You may want to decrease the consumed memory... But for increasing the memory see <http://www.mathworks.de/support/tech-notes...

circa 14 anni fa | 0

| accettato

Risposto
integrator block
Based on your question, I'd say Simulink is not the best tool for this. But you could. You can e.g. uses a sine wave source b...

circa 14 anni fa | 0

Risposto
Sum every nth row or array
If this is your matrix A=rand(150,8192); Then this is "every 4th row" A(1:4:end,:); I am not 100% sure what you ...

circa 14 anni fa | 1

Risposto
disable close button of Simulink model window
I believe this is not possible, but lets see what others think. I am however curious, what you like to achieve or avoid? Maybe t...

circa 14 anni fa | 0

| accettato

Risposto
Data fitting
As the name basic fitting suggests, it is basic. Please consider using the Curve Fitting Toolbox of your university license or m...

circa 14 anni fa | 0

Risposto
Why is the function not outputting all the variable?
You need to call your function in a way that it stores the to be returned values in variables like [notnecessarilyC, xyzout1...

circa 14 anni fa | 2

Risposto
Obtaining variables from a list of values depending on user input
This looks like a good use for Interpolation with the INTERP1 command. There are however multiple way to interpolate, fit, etc. ...

circa 14 anni fa | 1

| accettato

Risposto
linking simulink from m-file
This is a matter of the return variables of the SIM command. This examples code is from the documentation: Specify parameter ...

circa 14 anni fa | 1

| accettato

Risposto
importdata - HELP MEMORY
Like mentioned in an other answer. A 64 Bit MATLAB on a 64 Bit machine should be tested. There are however many smart methods...

circa 14 anni fa | 1

| accettato

Risposto
Can anyone help me with the water level tank (sltank) example available on Matlab?
There is user data "hidden" in the figure 'tankdemo'. The user data gets extracted into the variable 'yData' by the line yD...

circa 14 anni fa | 1

| accettato

Risposto
Difference between .m and .mat files
* MATLAB *code* is in files with extension |.M|. * MATLAB *data* is in files with extension |.MAT|. Thus, you can't always "...

circa 14 anni fa | 4

| accettato

Risposto
System time Matlab
now

circa 14 anni fa | 1

Risposto
ask for matlab script to give only the entries not in other file
x=[1222 1232 3310 2223]; y=[5555 1222 3310 1212]; setdiff(x,y)

circa 14 anni fa | 0

Risposto
To save whole workspace in a file(possibly excel)
I have nothing elaborated yet, but I am thinking of using whos and then looping through all variables and use XLSWRITE. You cert...

circa 14 anni fa | 0

| accettato

Risposto
Appending data into mat file without loading
You can append additional variable to the MAT file with save -append but you can't alter a saved variable. You may want...

circa 14 anni fa | 0

Risposto
Segmentation violation detected
The crash refers to mkl.dll, the "Intel Math Kernel Library". I found one bug related to this and also other issues that can ...

circa 14 anni fa | 0

Risposto
regarding .wav file
% Create WAV file in current folder for this test load handel.mat hfile='handel.wav'; wavwrite(y, Fs, hfile) clear...

circa 14 anni fa | 0

| accettato

Carica altro