回答済み
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...

約13年 前 | 0

| 採用済み

回答済み
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...

約13年 前 | 0

| 採用済み

回答済み
Friday Fun with EVAL()
Hi Sean, Why using "eval" and not "inline" on the post processed user input string?

約13年 前 | 1

回答済み
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]; ...

約13年 前 | 10

| 採用済み

回答済み
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....

約13年 前 | 0

| 採用済み

回答済み
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...

約13年 前 | 0

| 採用済み

回答済み
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...

約13年 前 | 0

| 採用済み

回答済み
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://...

約13年 前 | 0

回答済み
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)") ...

約13年 前 | 0

| 採用済み

回答済み
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 ...

約13年 前 | 0

| 採用済み

回答済み
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...

約13年 前 | 0

| 採用済み

回答済み
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...

約13年 前 | 0

| 採用済み

回答済み
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...

約13年 前 | 1

| 採用済み

回答済み
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...

約13年 前 | 2

| 採用済み

回答済み
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==...

約13年 前 | 1

| 採用済み

回答済み
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...

約13年 前 | 0

回答済み
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...

約13年 前 | 0

| 採用済み

回答済み
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...

約13年 前 | 0

回答済み
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:\...

約13年 前 | 0

| 採用済み

回答済み
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...

約13年 前 | 1

| 採用済み

回答済み
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 ...

約13年 前 | 0

| 採用済み

回答済み
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...

約13年 前 | 0

| 採用済み

回答済み
Delete double cell array entries
Hi, one line: NewCellArray = cellfun(@str2num, unique(cellfun(@num2str, CellArray,'UniformOutput',false)),'UniformOutpu...

約13年 前 | 0

回答済み
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...

約13年 前 | 0

| 採用済み

回答済み
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...

約13年 前 | 0

| 採用済み

回答済み
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...

約13年 前 | 1

回答済み
How can I save matrix to .txt file?
Hi, use dlmwrite a = rand(64,60); dlmwrite('filename.txt',a)

約13年 前 | 3

| 採用済み

回答済み
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))

約13年 前 | 0

回答済み
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)) ...

約13年 前 | 1

| 採用済み

回答済み
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...

約13年 前 | 1

| 採用済み

さらに読み込む