提问


How to calcululate the distance between 3D matrix elements to plane "Ax+By+Cz+D = 0" in a vectorized manner?
I have a 3D matrix M M = zeros(405,706,1932); Suppose putting matrix M into the x-y-z coordinate,with the x-axis indicati...

7 years 前 | 1 个回答 | 0

1

个回答

已回答
Double Click M File Opens New Matlab Session
When I Set matlab as admin mode to all users, the same problem appeared.

7 years 前 | 0

提问


When I use dos command to start Matlab, how can I specify it run as administrator for that time?
When I use dos command to start Matlab, how can I specify it run as administrator? I use the system('matlab -nosplash -...

7 years 前 | 1 个回答 | 0

1

个回答

已回答
using System() with administrator privilages
This also solved my problem. Thanks Edward. I fixed the problem by closing MATLAB and reopening it with administrator privi...

7 years 前 | 0

已回答
A problem about the lost of ' when I start matlab function using command with string as input argument.
Solved by using the ASCII number matrix as input: such as CMDEntryExitSuperColoc([23,54,76,98,23,46,68,89,23]) ...

7 years 前 | 0

| 已接受

提问


A problem about the lost of ' when I start matlab function using command with string as input argument.
I have a function called CMDEntryExitSuperColoc, with a file path string as input. In the 1st attempt, I could run this funct...

7 years 前 | 2 个回答 | 0

2

个回答

提问


How to restart PC and then automatically run a vbs script generated by Matlab before restart?
How to restart PC and then automatically run a vbs script generated by Matlab before restart? I have a matlab script that if ...

7 years 前 | 1 个回答 | 0

1

个回答

已回答
Alt+tab not working
Yes. indeed on my computer, although press Alt-Tab works, but sendkeys not work. However, justnow I found that Alt-Esc also...

7 years 前 | 0

提问


How to get the real-time position of mouse outside matlab
The function below get the current position of mouse on anywhere of the desktop even outside matlab. As I input C = get(...

7 years 前 | 1 个回答 | 0

1

个回答

已回答
How do I continuously read the mouse position as the mouse is moving, without a click event?
edited Jan 7 '15 at 17:07 answered Jan 7 '15 at 7:38 Are you sure MATLAB can only get the mouse co-ordinates within a GUI? It's ...

7 years 前 | 2

已回答
how to combine strfind and index in one line?
newname = 'aasw_43w-f45_rmg-rk_dwfewf_rgrg_v-b'; eval('nich = strfind(newname,''_''); nich(length(strfind(newname,''_''))-1...

7 years 前 | 0

提问


how to combine strfind and index in one line?
I tried to run strfind(argument,argument)(1) to return the first hit position, but matlab returns a error. It seems that I n...

7 years 前 | 3 个回答 | 0

3

个回答