Respondida
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...

más de 14 años hace | 0

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

más de 14 años hace | 1

| aceptada

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

más de 14 años hace | 0

| aceptada

Respondida
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...

más de 14 años hace | 0

| aceptada

Respondida
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...

más de 14 años hace | 0

Respondida
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 ...

más de 14 años hace | 1

| aceptada

Respondida
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...

más de 14 años hace | 1

| aceptada

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

más de 14 años hace | 1

| aceptada

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

más de 14 años hace | 0

| aceptada

Respondida
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)); ...

más de 14 años hace | 2

Respondida
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...

más de 14 años hace | 0

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

más de 14 años hace | 1

Respondida
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; ...

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

| aceptada

Respondida
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...

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 1

Respondida
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...

más de 14 años hace | 0

| aceptada

Respondida
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...

más de 14 años hace | 0

| aceptada

Respondida
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...

más de 14 años hace | 2

Respondida
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...

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

| aceptada

Respondida
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 ...

más de 14 años hace | 0

| aceptada

Respondida
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...

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

| aceptada

Respondida
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...

más de 14 años hace | 0

Cargar más