Community Profile

photo

Xiangrui Li


The Ohio State University

15 total contributions since 2012

Contact

Xiangrui Li's Badges

  • Scavenger Hunt Finisher
  • First Answer
  • Revival Level 1

View details...

See 2 Cody Badges

Contributions in
View by

Submitted


DICOM to NIfTI converter, NIfTI tool and viewer
NIfTI conversion, visualization and transformation tools

13 hours ago | 193 downloads |

Thumbnail

Submitted


Get computer MAC address
Get MAC address for different operating systems

6 days ago | 8 downloads |

Question


py.os.popen error under Windows
Later matlab versions can call python libraries directly. I came across a problem when calling py.os.popen or py.subprocess.chec...

1 month ago | 1 answer | 0

1

answer

Answered
Why the external dos command/program is so slow in 64 bit window?
I observed the slowness for both win32 and win64. I just posted a question <https://www.mathworks.com/matlabcentral/answers/3385...

3 months ago | 0

Question


Performance of system/dos function
[status, cmdout] = system(cmd) has been reported to be slow for a while (see <https://www.mathworks.com/matlabcentral/newsrea...

3 months ago | 0 answers | 1

0

answers

Answered
how to separate mac address on windows...?
For Windows: [~, a] = system ('getmac'); mac = regexp(a, '([0-9A-F]{2}-){5}[0-9A-F]{2}', 'match', 'once'); % get first o...

3 months ago | 0

Answered
simpler way to make new matlab function compatible to early version
Thanks for the answer and comment. Rik's method to use a wrapper will sure work. I think I found a simple way, which is to us...

5 months ago | 0

Question


simpler way to make new matlab function compatible to early version
flip is a builtin function for later matlab, but not for earlier matlab. I am thinking this simple way to take care of the comp...

5 months ago | 2 answers | 2

2

answers

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

10 months ago

Answered
Drag and Drop file (txt file)
For anyone who is interested, here is <http://www.mathworks.com/matlabcentral/fileexchange/53511-drag---drop-functionality-for-j...

1 year ago | 0

Question


how to add a separator line in popup uicontrol?
Is there a way to add a separator line for a popup uicontrol, like what "Separator" keyword does for uimenu? I searched, but ...

1 year ago | 2 answers | 0

2

answers

Responded


Re: nojvm and fprintf
I encountered the same problem, and found this thread. It is a pity that this has not been solved years later. In case it is u...

2 years ago | 4030 views

Answered
Why does R2013b keyboard freeze when toggling X11 forwarded windows?
Due to the above problem, I am using VNC viewer for now. The keyboard almost works fine, except several keys on the number pad. ...

3 years ago | 0

Answered
Why does R2013b keyboard freeze when toggling X11 forwarded windows?
I am having exactly the same problem, although I haven't tried other matlab versions due to access issue. Anyone has a solution?...

3 years ago | 0

Question


why serial write freezes in Matlab R2012b?
I just installed 32-bit Matlab R2012b on 32-bit Windows XP, but found that the serial write (both fprintf and fwrite) doesn't wo...

5 years ago | 0 answers | 0

0

answers