Beantwortet
Parallel Computing Toolbox on local machine
Hi Pierre, 1. More or less yes, although the current version (R2011b) supports up to 12 local workers instead of the previous...

mehr als 14 Jahre vor | 0

Beantwortet
cd desktop windows Vista/7
Hi, not really. What might help is something like this: u = getenv('USERPROFILE'); cd(fullfile(u, 'Desktop')) Titu...

mehr als 14 Jahre vor | 1

| akzeptiert

Beantwortet
Error opening matlabpool
Could you try to add localhost with 127.0.0.1 to your /etc/hosts file? Titus

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
flgetl in a loop
Hi, I guess fid_case comes from opening the file, i.e. something like fid_case = fopen('myfile.txt'); If yes, then fi...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
Twin primes between 10 en 500.
Hi Scooby, I guess your questions are not directly related to prime numbers but to learning MATLAB ... ;-). I'd suggest to r...

mehr als 14 Jahre vor | 0

Beantwortet
Print specific figure in GUI
Hi, the error message tells you the problem: you can only print figures, not axes. I assume though, that handles.axes2 is an ...

mehr als 14 Jahre vor | 1

| akzeptiert

Beantwortet
Left-hand side indexing issue
Hi, why is it weird? You have for A: 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 Now you assign to the third, eighth, ... colu...

mehr als 14 Jahre vor | 1

| akzeptiert

Beantwortet
Matlab Mysql remote connection fails
Hi, take a look at db_conn.Message what does it say? Titus

mehr als 14 Jahre vor | 1

| akzeptiert

Beantwortet
Make a variable
Hi, B = repmat('%s ', 1, x); Titus

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
How to insert a complex root in a text using fprintf?
Hi, you will need to print real and imaginary part seperately: fprintf('One root is %g %+g i\n', real(d1), imag(d1)); ...

mehr als 14 Jahre vor | 2

Beantwortet
Read multiple data
This comes up quite frequently. Take a look e.g. <http://blogs.mathworks.com/steve/2006/06/06/batch-processing/ here>. Titus...

mehr als 14 Jahre vor | 0

Beantwortet
iminfo
I guess (!) you mean imfinfo? If yes, take a look at <http://www.mathworks.com/help/releases/R2011b/techdoc/ref/imfinfo.html> ...

mehr als 14 Jahre vor | 1

Beantwortet
Dimension issues when using fsolve
Hi Kyriacos, unary plus is similar to unary minus: instead of x = 42.0; you can just as well write x = +42.0; ...

mehr als 14 Jahre vor | 0

Beantwortet
Dimension issues when using fsolve
Hi Kyriacos, if you leave out the first half of F you see the difference: F = [-x(1) +2*x(2) - exp(-x(2))] F = 5.0...

mehr als 14 Jahre vor | 0

Beantwortet
Plots via s-function
Hi Tobias, hmm, then there is indeed not much more that can be done ... writing the S-function in C will not make much of a d...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
Plots via s-function
Hi Tobias, not really. What I would suggest is to reduce the sample time of the output so that the S-function (plotting) is n...

mehr als 14 Jahre vor | 0

Beantwortet
converting cell array of strings (dates) to matrix
Hi, hmm, I don't understand: you have a cell array of strings (i.e., you have some 100x1 cell array). What exactly is the out...

mehr als 14 Jahre vor | 0

Beantwortet
How to multiply two matrices
Hi Carlas, probably yes. But in this case probably the loop is not your worst option, as long as you initialize C = zero...

mehr als 14 Jahre vor | 1

Beantwortet
interfacing with exe from matlab
Hi Amardeep, I recommend changing the code generation target from GRT to "Rapid Simulation Target": this already comes with c...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
Problems Compiling Matlab Code into Standalone
Hi, some things to check: * I guess the compiler is installed, otherwise you would have got an error "unknown function mcc...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
how can i know which toolbox a function is calling?
Hi, usually depfun is indeed the answer, but it has it's limitations as you saw. One rather simple (although not optimal) way...

mehr als 14 Jahre vor | 2

Beantwortet
Use (block) handles within Java
Hi, yes and no: you can use get_param for retrieving information, but not by using 13.0010 (since this is the string represen...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
matlab - c code translation
Hi, note that MATLAB sorts the values by column, i.e., you should use xValues[rowLen*jj+ii] instead. Titus

mehr als 14 Jahre vor | 0

Beantwortet
Switches and if blocks wrong behavior?
Hi Lennart, double click the output port in the if-action subsystem and do the following: (a) set the Initial Output to 0. (b...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
Curve Fitting Toolbox - change algorithm of fit
Hi, apart from the question why you would like to do this: you always have the option to copy the function in question (here ...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
Extrapolation 2-D lookup table
Hi Jose, in a German forum I gave a description on how the interpolation of Simulink works, see <http://www.gomatlab.de/extra...

mehr als 14 Jahre vor | 0

Beantwortet
using DB in matlab
Hi Mir, what is an "OR mapper"? Using mysql with the database toolbox works fine (see <http://www.mathworks.com/products/data...

mehr als 14 Jahre vor | 0

Beantwortet
Read xls file to create simulink blocks
Hi Dilip, there are several ways to acchieve this. The simplest would be to write into the preload function of the model (Fil...

mehr als 14 Jahre vor | 0

Beantwortet
compiling desktop executable
Hi Amardeep, the executable has nothing to do anymore with the workspace, so the answer is no, it will not collect new data b...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
Linprog and Max Function
Hi, if Df, g and Dg are "just numbers", why would you use linprog? The function is piecwise linear, so there are only three p...

mehr als 14 Jahre vor | 0

Mehr laden