Answered
Fscanf help ( text file handling )
Hi, I would use fgetl to read a full line. Than I would check if [ ] exists in that line, e.g. with strfind. If so, remove the ...

14 years ago | 0

| accepted

Answered
How to use mex for C functions on MATLAB 7.10?
Hi, you moved from 32bit to 64bit. Beware that the size of some datatypes changes. The best way here is to debug your mex fil...

14 years ago | 0

Answered
Matlab results display problem in VB
Hi, I would specify the class of ymDoubInteg: Dim myDoubInteg as You_Class_Name = New MyDoubleIntegral.MyDoubleIntegral ...

14 years ago | 0

Answered
Error in VBAProject: ActiveX component can't create object
Hi, looks like your project DLL is not registered or one of the COM DLL's shipped with MATLAB. Please look here <http://ww...

14 years ago | 0

Answered
subplot in matlab
Hi, do you mean this: subplot(9,3,1) plot(1:10) subplot(9,3,2) plot(1:10) %...and so on and finally sub...

14 years ago | 0

Answered
mean value of array
Hi, I think you forgot to specify the dimension. Try C = mean([ A(B(:,1)), A(B(:,2))],2)

14 years ago | 0

| accepted

Answered
How to delete elements that have repeats in arrays
Hi, try this input= [2,3,4,4,5,6,2,2]; un_in = unique(input); n = hist(input,numel(un_in)); oputp...

14 years ago | 0

Answered
simulataneous Curve fitting follow up
Hi, I think this won't work since you can't seperate the unknowns as needed. I can't think on any easy way to do it. I can'...

14 years ago | 0

Answered
No video adapters available
Hi, Image Acquisition Toolbox requires Video 4 Linux 2. It looks like your have installed V4L1: <http://www.mathworks.com/help...

14 years ago | 0

| accepted

Answered
Does Parfor make a difference without Parallel Computing toolbox
Hi, parfor will run the loop in the reverse order if you dont have Parallel Computing Toolbox.

14 years ago | 2

Answered
NI 6351 USB daq.getDevices does not work
Hi, daq.getDevices is part of the session based interface which will work with CompactDAQ Devices only: <http://www.mathwo...

14 years ago | 0

Answered
error facing setting property of static text
Hi, do a dbstop if error in the MATLAB command line. Than run your program, push the button which raises the error a...

14 years ago | 0

Answered
Reading a string and retriving data from the string.
Hi, I would use textscan and set the delimiter option to '_' out = textscan(str1,'%s %s %s','delimiter','_') After th...

14 years ago | 0

Answered
Second order ODE with initial conditions
Hi, Based on this article (chapter 2.3) <http://www.math.tamu.edu/REU/comp/matode.pdf> I would do something like this: ...

14 years ago | 1

Answered
Generating matlab model for veristand simulation
Hi, looks like the whitespaces in the path are making troubles here, e.g. 'C:\Program' is not recognized as an internal ...

14 years ago | 0

Answered
I want Absolute numerical integral-sth like absolute trapz
Hi, as long as Y is positive trapez(X,Y) will work. You don't have to worry about negative X values, e.g. >> X = -0.5:0....

14 years ago | 0

Answered
simulataneous Curve fitting
Hi, EDIT again full post to match better: %some x values x = 1:0.1:10; %some y values, normally you don't know h...

14 years ago | 0

| accepted

Answered
read an empty line in a file
Hi, try it with feof in the while loop. See here for an example: <http://www.mathworks.com/help/releases/R2011a/techdoc/re...

14 years ago | 0

| accepted

Answered
Why do I get 'undefined function' which I try to run the deploytool function?
Hi, deploytool is part of the MATLAB Compiler. Simulink Coder and MATLAB Coder doesn't ship the deploytool. <http://www.mathwo...

14 years ago | 1

| accepted

Answered
Clash with existing Jar files
Hi, the jar file containing the ImmutablesLists is: C:\Program Files\MATLAB\R2011a\java\jarext\google-collect.jar I t...

14 years ago | 0

| accepted

Answered
imwrite makes correct file, then errors
Hi, the only stuff I found is this: <http://www.mathworks.com/support/solutions/en/data/1-APY5VN/index.html> <http://ww...

14 years ago | 0

Answered
Image from a double precision matrix
Hi, when deletung the 3rd dimension it gets a grayscale image. To do this you can use the rgb2gray function, e.g imwrite(rgb...

14 years ago | 0

Answered
If statement
Hi, you can use if ismember(b,[1,2,5,6,8]) %b equals one of the number else %do something else end

14 years ago | 0

Answered
the mode
Hi, is this about the mode function? If so there is a related post which give you several ways to do what you like to do: ...

14 years ago | 0

Answered
finding pixel near border
Hi, maybe this: I =[ 1 0 0 0 0 1 0 1 0 0 1 0 0 ...

14 years ago | 0

| accepted

Answered
how to exit for loop
Hi, I think you have to use a flag flag = 0 for m=1:10 for n=1:sz(2) if(Isingle(m,n)==1) ...

14 years ago | 4

Answered
How to display a list of instructions
Hi, I would recommend using a cell to hold these strings: roughness={'Select body roughness'; '(1) Smooth ...

14 years ago | 0

Answered
Plotting 3D
Hi, try plot3: plot3(Cordinate(:,1),Cordinate(:,2),Cordinate(:,3),'*')

14 years ago | 0

Answered
Save plot every second in different file image
Hi, in the function which is called from the timer (TimerFcn callback) before updating the plot you can save it. Lets say the T...

14 years ago | 1

| accepted

Answered
Why does ishandle(0) return 1?
Hi, yes 0 is the handle to the default settings/properties and because of this ishandle(0) returns 1.

14 years ago | 0

| accepted

Load more