Question


when combing OnCleanup with evalin, weird order of execution
This function is to print in cmd window that the function was executed and exited. The expected outcome is : 1 $$$$$$-En...

3 years ago | 0 answers | 0

0

answers

Submitted


prologue
insert this line to beginning of function then every execution wil be logged in cmd window

3 years ago | 1 download |

Question


unexpected comma in regexp output
Hi, everyone, I want to extract the word "Df(3R)ED50003". from a string below: The word is composed of A-Z a-z 0-9 ...

3 years ago | 1 answer | 0

1

answer

Question


How to find minimum number of largest square of 1 in an 2D bool matrix
I have a 2D bool image (dimension 81x65) with several irregular regions black(mainly in the middle) and other pixes white(mainly...

3 years ago | 1 answer | 0

1

answer

Question


help on regexp to extract words between ""
aMajorLine = 'var _0x3f86=["\x72\x65\x64","\x67\x72\x65\x65\x6E","\x62\x6C\x75\x65"]'; [a,b] = regexp(aMajorLine,'var _0x3f86=\...

3 years ago | 2 answers | 0

2

answers

Submitted


RMD_TLL_primer_order
Fully Automated primer order on Temasek Lifescience Laboratory(TLL)

3 years ago | 1 download |

Question


how to fread not a file, but a vector that equals fread a file in binary form?
I have a vector aVec = [45,234,123,.........] % that is equivalent to: % fread(anyfile, 'r') I want to read tha...

3 years ago | 1 answer | 0

1

answer

Question


How to open .m fiile in editor and move to specific line number?
I'm wondering if there is a command to open a .m file and also locate to specific line? The effect should be same with Matlab...

3 years ago | 1 answer | 0

1

answer

Submitted


strrep variants for case-insensitive
strrep variants for case-insensitive

3 years ago | 2 downloads |

Answered
hyper text display problem: " and ' inside href = " "
Also,the following hypet text does not show correctly unless modified: before modify disp('<a href="matlab: ...

3 years ago | 0

Question


hyper text display problem: " and ' inside href = " "
disp(['<a href="matlab: system(''"C:\p q.exe" "D:\ w rd.txt", -n45'')','">click me to run a file</a>']); The hyperlink termina...

3 years ago | 2 answers | 0

2

answers

Submitted


isadmin
Tell whether matlab is running in administrator mode or not.

3 years ago | 1 download |

Answered
M-script to determine if user has administrator rights
function out = isadmin out = System.Security.Principal.WindowsPrincipal(... System.Security.Principal.WindowsIdentity....

3 years ago | 1

Question


evalin('caller','mfilename') does not work.
function out = cdc out = evalin('caller','mfilename'); end This fucntion returns the 'cdc', not the caller's mfilename.

3 years ago | 2 answers | 0

2

answers

Question


getenv() returns the results that are not complete.
On the windows system the environment variable CLASSPATH is: .;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;D:\QMDownload\6...

3 years ago | 0 answers | 0

0

answers

Question


Implicit java object variable initializaton or declare
A function Miji() load a mij.jar file defined in matlab's static javaclasspath.txt by this way: function Miji ... MIJ...

3 years ago | 0 answers | 0

0

answers

Question


[Weired] Data not update when placed in a for/while loop
I used matlab and python interface to convert my voice to text: When run the code again and again, it successfully record my sp...

4 years ago | 1 answer | 0

1

answer

Question


Why http request returned empty
I write the code to send a binary data of an recorded speech audio "tmphpzsjbv7.flac" file to Google speech website to get the t...

4 years ago | 0 answers | 0

0

answers

Question


how to make Array variable type as vbscript Array in order to transfer to a Adobe Illustrator Application?
I want to draw a triangle in adobe illustrator via COM server: aAI = actxserver('Illustrator.application'); aAI.Document...

4 years ago | 1 answer | 0

1

answer

Question


why evalin('caller', 'evalin(''caller'', ''a'')') works in a stack of script. but not a stack of functions?
Suppose three m files of script: test1.m a=1; test2; test2.m b=2; test3; bb test3.m c=3; eva...

4 years ago | 1 answer | 0

1

answer

Submitted


splitImage
This function split a long vertical image of text and/or graphs to several pieces for easier print out.

4 years ago | 1 download |

Answered
Selective/partial unistall of Microsoft Visual Studio C++ compiler for mexFunction
Solved. The VC folder was necessary and sufcient for C compiler for mtlab.

4 years ago | 0

| accepted

Question


Can client use the node located in different countries?
Usually MDCS are configured using node PC in local network. Apart from Amazon Cloud, I was just wondering if the computers f...

4 years ago | 1 answer | 0

1

answer

Question


For addAttachedFiles(myPool,'mydir'), how to add the Subfolders of 'mydir' recursively to the search path of worker?
In the client I opened several workers by MDSC with MJS cluster "MyMJScluster" using multiple computers as node PC. parpoo...

4 years ago | 1 answer | 0

1

answer

Question


How to send files from worker to client in MDSC?
In the client I opened several workers by MDSC with MJS cluster "MyMJScluster" using multiple computers as node PC. parpool...

4 years ago | 1 answer | 0

1

answer

Question


Selective/partial unistall of Microsoft Visual Studio C++ compiler for mexFunction
To use mex with Visual C++ compiler, I have installed the Microsoft Visual Studio 2010, and set the environment VS80COMNTOOLS as...

4 years ago | 1 answer | 0

1

answer

Answered
problem dealing with unicode in mexFunction
Solved. Using mxArrayToString.

4 years ago | 1

| accepted

Question


problem dealing with unicode in mexFunction
I made a mexfunction to find the Hwnd of a window if its wiindow title matches a string. This was done by using a mexFunction "g...

4 years ago | 1 answer | 0

1

answer

Question


Failed to add Group to h5 file via H5G.create
%% 1st step: create a h5 file and close it fn = 'D:\QMDownload\3\example.h5'; fid = H5F.create(fn); gid = H5G.ope...

4 years ago | 1 answer | 0

1

answer

Answered
Eval on multi-line strings - no return value?
Great! I found a new way to eval a block of code stored in text file.

4 years ago | 0

Load more