Answered
How do I erase something I printed in the command window (to print something else instead)?
Hi, you could use the clc command to clear the whole command window: <http://www.mathworks.com/help/releases/R2011a/techdo...

14 years ago | 0

Answered
changing directory in matlab
Hi, I think this m file won't help much here since it uses the which commands to search for files with a specific name and wh...

14 years ago | 0

Answered
Correct use of uint32
Hi, idx1 is a logical vector. So the error can be raised with: logical(1)*uint32(2) To get it working, cast idx1 to u...

14 years ago | 0

| accepted

Answered
Modulo-2 addition ?
Hi, you can use the mod command for that. Assume you like to add a and b and than do the modulo 2: mod(a+b,2)

14 years ago | 0

| accepted

Answered
Right clicking in a dialog box
Hi, This is a bit tricky. There is a solution available which shows you how to get a context menu: <http://www.mathworks.com/s...

14 years ago | 1

Answered
How to read a text file with multiplel matrix data sets listed one after another
Hi, trz fid = fopen('sample.txt','r'); out = textscan(fid,'%s %s %s \r\n %f %f %f \r\n %f %f %f \r\n %f %f %f \r\n %f %f...

14 years ago | 0

Answered
Opening files in editor causes a "Load of Java classes failed" in Matlab R2011a under OSX 10.6.8
Hi, This can happen if you have downloaded third-party software such as EasyKrig which contains a 'message.m' file. If the thi...

14 years ago | 2

| accepted

Answered
Excel COM Server, create Autofilter
Hi, A good way to get the function and command you need it to open Excel and let EXCEL record a macro for you. Simply click o...

14 years ago | 1

| accepted

Answered
rounding elements in array to nearest 0.25
Hi, I think you are looking for: in = [1373.698 1385.024 1394.82 1400.436 1396.532]; %round up ...

14 years ago | 4

| accepted

Answered
compiling GUI with folder of input text files
Hi, the path management in deployed applications is different than in MATLAB. I would recommend reading this: <http://blog...

14 years ago | 0

Answered
PREVIEW function in web application
Hi, I am not 100% sure if this works but I would try the following: # use the preview command # use figtoimstream to conv...

14 years ago | 0

Answered
What is the formula to convert uint8 image to double format ?
Hi, simply cast it as double and than divide by the maximum number of the datatype. In your case (uint8) its 255. So when your ...

14 years ago | 3

Answered
Build standalone application
Hi, you have to install a 32bit MATLAB in order to generate a 32bit application. You can't generate a 32bit applicaion out of...

14 years ago | 0

Answered
Explicit solution could not be found
Hi, this can mean # It's to complex for beeing solved symbolically # Since you have 3 equations and 2 variables it can mean th...

14 years ago | 0

Answered
integer increment on a plot axis
Hi, you can try set(gca,'ytick',0:10) To limit the y-axis to 0 to 10 do set(gca,'ylim',[0,10])

14 years ago | 5

| accepted

Answered
Excel Reading and Writing using Matlab
Hi, I have an Excel file where the first column (A) is: 1 2 e 3 and loop over the cells and check if the ent...

14 years ago | 1

| accepted

Answered
Using COM Servers As Workers
Hi, have a look at the actxgetrunningserver command: <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/actxgetrun...

14 years ago | 0

Answered
Why do I receive this error? Error using ==> psoptimset at 297 Unrecognized parameter name 'UseParallel'.
Hi, this feature was introduced with 8a: <http://www.mathworks.com/help/releases/R2011a/toolbox/gads/rn/bre2ymp.html>

14 years ago | 0

| accepted

Answered
Identifying duplicates and deleting duplicates
Hi, are you looking for the unique command? >> a = [1 2 2 3 1 4] a = 1 2 2 3 1 4 ...

14 years ago | 0

Answered
next button problem
Hi, I would suggest to contact the Install Support: <http://www.mathworks.com/support/contact_us/> So this should be op...

14 years ago | 0

Answered
ODE45, ODE113 How to get the step size in advance?
Hi, ODE45 and ODE113 have variable step size and this size is choosen during solving. So there is no stepsize you can get.

14 years ago | 0

Answered
editor slow: maximun number of lines?
Hi, the same question some days ago can be found here: <http://www.mathworks.com/matlabcentral/answers/13577-large-files-v...

14 years ago | 0

Answered
Matlab data extraction speed up
Hi, could you give us an example how the data is stored in the binary file? And how should the data look like in the end? ...

14 years ago | 0

Answered
Matlab CoderToolbox and GUI
Hi, this is not possible, <http://www.mathworks.com/help/releases/R2011a/toolbox/eml/gs/brtk6_j.html> C is not able to ...

14 years ago | 0

Answered
'ButtonDownFcn' - Passed parameters need to be updated
Hi, once this function handle is created the passed values are fix. You have to renew the function handle with the updated va...

14 years ago | 0

| accepted

Answered
how we can bring turbo c program in matlab
Hi, Turbo C is really old (end of the 80s I think). Can Turbo C code be compiled with the Visual Studio Compiler? If so, you co...

14 years ago | 0

Answered
Problem loading excel file into MATLAB
Hi, are you using the Import Wizard or importdata function together with R2009b? If so, thats a known Bug. You can use xlsrea...

14 years ago | 0

Answered
Deploytool Problem
Hi, you don't have to setup anything before you are able to open the deploytool. Please check if the license work correctly t...

14 years ago | 0

| accepted

Answered
How to calculate used memory of a m file
Like Jan said, you can't. But this is a nice tool and maybe it helps you. <http://www.mathworks.com/matlabcentral/fileexc...

14 years ago | 0

Answered
Dump a struct to an ascii delimited file
Hi, only a guess: for i=1:10 mystruct(i).filename=sprintf('test %d',i); mystruct(i).number=i; end ...

14 years ago | 0

| accepted

Load more