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

14 years ago | 0

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

14 years ago | 1

| accepted

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

14 years ago | 0

| accepted

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

14 years ago | 0

| accepted

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

14 years ago | 0

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

14 years ago | 1

| accepted

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

14 years ago | 1

| accepted

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

14 years ago | 1

| accepted

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

14 years ago | 0

| accepted

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

14 years ago | 2

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

14 years ago | 0

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

14 years ago | 1

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

14 years ago | 0

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

14 years ago | 0

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

14 years ago | 0

| accepted

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

14 years ago | 0

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

14 years ago | 0

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

14 years ago | 1

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

14 years ago | 0

| accepted

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

14 years ago | 0

| accepted

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

14 years ago | 2

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

14 years ago | 0

| accepted

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

14 years ago | 0

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

14 years ago | 0

| accepted

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

14 years ago | 0

| accepted

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

14 years ago | 0

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

14 years ago | 0

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

14 years ago | 0

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

14 years ago | 0

| accepted

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

14 years ago | 0

Load more