Réponse apportée
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...

plus de 14 ans il y a | 0

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

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
Error opening matlabpool
Could you try to add localhost with 127.0.0.1 to your /etc/hosts file? Titus

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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 ...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
Matlab Mysql remote connection fails
Hi, take a look at db_conn.Message what does it say? Titus

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
Make a variable
Hi, B = repmat('%s ', 1, x); Titus

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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)); ...

plus de 14 ans il y a | 2

Réponse apportée
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...

plus de 14 ans il y a | 0

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

plus de 14 ans il y a | 1

Réponse apportée
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; ...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 1

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 2

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

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

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

Charger plus