Réponse apportée
How to call a function on "dbstop if error"
Hi, why not using try/catch? function myFunction() try x = 1; y = 2; z = xy; % I will fail. Af...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
Error in compilation - Matlab - Java exception
Hi, sounds like this: <http://www.mathworks.com/support/solutions/en/data/1-LI67CH/index.html> Are you tryting to compi...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
Friday Fun with EVAL()
Hi Sean, Why using "eval" and not "inline" on the post processed user input string?

presque 13 ans il y a | 1

Réponse apportée
To find intersection point of two lines ?
Hi, not sure if I understand correctly what you want but is this what you are looking for? %line1 x1 = [7.8 8.5]; ...

presque 13 ans il y a | 10

| A accepté

Réponse apportée
loadlibrary Problem: Reference to non-existent field 'The system cannot find the path specified. VSINSTALLDIR'.
Hi, should be a "&" in your environment Variable PATH: <http://www.mathworks.com/support/solutions/en/data/1-IFA0ZS/index....

presque 13 ans il y a | 0

| A accepté

Réponse apportée
Create GUI for WinXP from7
Hi, I guess you compiled in a 64bit MATLAB? This will lead to a 64bit exe which won't run on a 32bit system. You would nee...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
how i can use symbolic variables in embeded matlab block in simulink?
Hi, try at the top coder.extrinsic('syms') <http://www.mathworks.com/help/simulink/slref/coder.extrinsic.html> May...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
How can I rotate a curved rectangle?
HI, so you have a set of points (x,y) describing a curved rectangle. I guess the keyword here is rotation matrix: <http://...

presque 13 ans il y a | 0

Réponse apportée
GetVariable from function in visual basic script
Hi, when I do this it works fine: Set ml = CreateObject("MATLAB.application") ml.Execute ("z = rand(1)") ...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
Program works in 2008 but not in 2012
Hi, seems like a DLL cant be found from the JAVA code. I guess you modified the librarypath.txt in 2008 in order to add the ...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
undefined symbole '_mclInitializeApplication_proxy@8' reference in .c
Hi, specifying the path to the lib file is not enough. You need to explcitly state the mclmcrrt.lib for the linker and also t...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
passing unicode string from C mex function to Matlab
Hi, at least the doc states that the mxChar type is 2 byte: <http://www.mathworks.com/help/matlab/apiref/mxchar.html> W...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
How do I create a function that takes a character array (s) as an input and returns a new character array with each letter shifted forward once in the alphabet?
Hi, you maybe need to think about the letter z/Z, but in general you can do: function s = shiftletters(in) s = ch...

presque 13 ans il y a | 1

| A accepté

Réponse apportée
Avoid adding MATLAB to the PATH for Engine applications
Hi, yes that possible but more a C/C++ question rather than MATLAB. You would need to look up HKEY_CLASSES_ROOT\MATLAB.Applic...

presque 13 ans il y a | 2

| A accepté

Réponse apportée
is 'continue' in 'c' language similar in MATLAB??
Hi, yes continue in MATLAB is the same as in C. However when I look at that while loop: while j<=n if j==...

presque 13 ans il y a | 1

| A accepté

Réponse apportée
libpointer.Value => The datatype and size of the value must be defined before the value can be retrieved.
Hi, I guess you need to use setdatatype (take a look at the doc to get more information about that function). But I guess you...

presque 13 ans il y a | 0

Réponse apportée
R2013a and Microsoft Visual Studio 2012 Pro
Hi, please contact the Technical Support. It seems to be a known issue with VS 2012 and MATLAB R2013a. In the mean time, u...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
How to tell Matlab to give real cube roots instead of complex ones?
Hi, seems more like MATLAB is converting your symbolic expression into a complex double value. So what are you doing with the...

presque 13 ans il y a | 0

Réponse apportée
Error building with JA Builder
Hi, please setup up JAVA_HOME only. Remove the JAVA entry from PATH. On my machine my JAVA_Home points to: JAVA_Home=C:\...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
Code completion/hints for Java methods in MATLAB editor?
Hi, not that I know off, but you can use the methodsview function for that: >> a = java.lang.String('hallo') a...

presque 13 ans il y a | 1

| A accepté

Réponse apportée
how to use mesh to plot 3D image
Hi, the problem is that the plot in the book is not really correct. The funtion is a discontinoues function. All points with ...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
Matlab Compalier dll error
Hi, you either need a.) The MCR for that particular version or b.) You install the MATLAB version in which the application wa...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
Delete double cell array entries
Hi, one line: NewCellArray = cellfun(@str2num, unique(cellfun(@num2str, CellArray,'UniformOutput',false)),'UniformOutpu...

presque 13 ans il y a | 0

Réponse apportée
Does this code crash your matlab?
_ *UPDATE*_ *It seems to be related to the renderer. Setting the renderer to opengl makes it work fine. ZBuffer seems to h...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
Using find with a vector without having to use a for loop
Hi, use bsxfun and make sure one vector is a row vector and the other a column vector (a would be vector and b would be vecto...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
getting error when using fscanf function
Hi, who needs an error if one can guess ;) I guess the file data1.txt doesn't exist or is located in a different folder. W...

presque 13 ans il y a | 1

Réponse apportée
How can I save matrix to .txt file?
Hi, use dlmwrite a = rand(64,60); dlmwrite('filename.txt',a)

presque 13 ans il y a | 3

| A accepté

Réponse apportée
How to remove the pairing X value when Y is NaN?
Hi, since X and Y have the same length do: X = X(isfinite(Y)) Y = Y(isfinite(Y))

presque 13 ans il y a | 0

Réponse apportée
How to add three if else conditions?
Hi, do it like this if ((S1c<Sigma1) && (Sigma1<S1t) && (S2c<Sigma2) && (Sigma2<S2t) && (0<Sigma12) && (Sigma12<S6)) ...

presque 13 ans il y a | 1

| A accepté

Réponse apportée
How to execute a called
Hi, you have two alternatives: 1.) Use MATLAB Automation Server from VBS <http://www.mathworks.com/help/matlab/call-mat...

environ 13 ans il y a | 1

| A accepté

Charger plus