Answered
Run mex on AWS cluster?
Hi Philip, yes, that's right. You will need to recompile on a Linux box (64 Bit, since I hope you run on AWS 64 Bit as well)....

11 years ago | 1

| accepted

Answered
How to change the name of variables using a loop?
Hi Kathleen, why do you want to avoid cells? They are a perfect fit - and much cleaner/safer/easier to use than any clumsy an...

11 years ago | 0

Answered
control of interpolation-extrapolation of data in the 'from file' block- matlab/simulink 2010a
Hi, I guess upgrading is not an option? Starting with 2010b you can choose whether to hold the last value or extrapolate. The...

11 years ago | 0

Answered
How to use a math function as an input in a written function?
Just to be sure: your MATLAB version is not R12 or R13 from before 2003? In R14 anonymous functions were introduced ... Titus...

11 years ago | 0

Answered
Variable error on second file read when going through a sequence of files
Hi, some comments: first of all your indexing is wrong: 5:2 is the empty set. Try 2:5 instead (same of course for Voltage, da...

11 years ago | 0

Answered
Compiled s-function blocks with step size less than simulation step size
Hi Luke, sorry, but this won't work. There is no way to have a block with a sample time lower than base sample time. Only way...

11 years ago | 0

| accepted

Answered
what will be the solution for this error
Hi, you write V = ev(:, 1:3); so V has three columns. But your loop on j is for j=1:7 That doesn't match ......

11 years ago | 0

Answered
saving simulation results as .bmp
Hi, if you have only one scope in your model, it's possible by hFig = findall(0,'tag','SIMULINK_SIMSCOPE_FIGURE') save...

11 years ago | 0

Answered
Help me with "NORMPDF"
Hi, how can you see, that this is not normally distributed? Could it be that you mix up the plot with the histogram? Try hi...

11 years ago | 0

Answered
how to plot 2d and 3d plot in the web figure using matlab?
Hi, this question sounds fairly generic? Generally you just plot whatever you want and call webfigure(h), where h is the handle...

11 years ago | 0

Answered
Error : Undefined variable "uiscopes" or class "uiscopes.getDefaultPosition" - standalone application
Hi, on the page <http://www.mathworks.com/products/compiler/supported/compiler_support.html product support of compiler> you ...

11 years ago | 1

| accepted

Answered
low speed of 'ismember' function
Hi, does "Vector1" and "Vector2" changes in every iteration? Often you see something like for i=1:n v = ismember(x(...

11 years ago | 0

Answered
I cannot set Number of workers as number of cores of my computer
Hi, you probably have a dual core with hyperthreading? In this case it's a good decision of MATLAB to allow only two workers....

11 years ago | 0

| accepted

Answered
uninstalled MATLAB before deactivating
You should go to the license center on the web and deactivate your license there. Titus

11 years ago | 0

Answered
Error using mex: No supported compiler or SDK was found.
Hi Jordan, to me this looks fine: you configured mex to use Microsoft Visual C++ 2012 (as in the text directly before the war...

11 years ago | 0

Answered
How I can I save large tables without using save(data, '-V7.4')?
Hi James, generally speaking, the v7.3 is an uncompressed format, whereas the default format (7.0) is a compressed format. It...

11 years ago | 0

Answered
symbolic computation GPU Matlab
No, you can't. It would probably not make too much sense anyway: GPUs are good for highly parallel computations. Symbolic comput...

11 years ago | 0

Answered
How declare for the matlab matrix that an value don't is considerable ??
You can remove elements from your matrix as follows: a = [1 2 3 4 5]; % delete all two's: a(a==2) = []; Titus

11 years ago | 0

| accepted

Answered
strfind: how to set a cell for the pattern?
Hi, not exactly the same result but similar: ismember(a, b) Titus

11 years ago | 0

Answered
Hi! Can I do a stand alone executable if my program is targeted for plotting? I am getting the following error:
Hi, did you do a mbuild -setup before? Did MATLAB find your gcc 4.0? Titus

11 years ago | 0

Answered
fmincon can't meet nonlinear constraints with a feasible start point
Hi, are you sure they satisfy the constraints? You can check e.g. with all(A*x0<=b) Or: what is max(abs(Aeq*x0-b...

11 years ago | 0

Answered
How to merge multiple scripts in MATLAB
Hi, you might just create a script that uses "run" to run the other scripts based on the output of "dir"? Something like ...

11 years ago | 0

Answered
simulink code generation error !!!
You should include the generated header file for the model, it should contain all necessary includes. Titus

11 years ago | 0

| accepted

Solved


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

11 years ago

Answered
ODE15 problem in java web deployment
Hi Zetty, a trick that often helps debugging such issues is to save the input data of your deployed function into a .mat file...

11 years ago | 0

| accepted

Answered
replace numeric char within a column
Hi, it sounds as if you have a cell array of strings. In this case allDatabySubj(strcmp(allDatabySubj, '-999)) = {0}; ...

11 years ago | 0

| accepted

Answered
Problem in Dimensionality reduction
Ciao Chiara, the third return parameter from xlsread is a cell array, you will need to convert vX to a matrix using cell2mat....

11 years ago | 0

| accepted

Answered
How can I reduce the execution time when calculating mean values within a 3 times loop?
Hi, I would suggest to preallocate TENNILU and take some of the operations out of the loops: TENNILU = zeros((2014-2004+...

11 years ago | 0

| accepted

Answered
Growing a Cell Array
Hi Victor, it will automatically grow: x = {1} x = [1] x{3} = 'Hello' x = [1] [] 'Hello' Nev...

11 years ago | 0

| accepted

Answered
MEX et up problem
Hi Ali, I'm not sure what your question is. You did mex -setup and chose the SDK 7.1. So far so good, what is now the problem...

11 years ago | 1

Load more