Community Profile

photo

Xiangrui Li


The Ohio State University

Last seen: 2 días hace Con actividad desde 2012

Statistics

All
  • Scavenger Finisher
  • Thankful Level 2
  • Knowledgeable Level 1
  • Solver
  • Commenter
  • GitHub Submissions Level 3
  • Personal Best Downloads Level 3
  • Thankful Level 1
  • 3 Month Streak
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 5

Ver insignias

Content Feed

Ver por

Respondida
How do I close all open scripts in the Editor window?
I suppose you may also close the Editor window, if you wanted to close all scripts. Why does not do the following simple way? ...

9 meses hace | 0

Enviada


xiangruili/dicm2nii
NIfTI conversion, visualization and transformation tools

11 meses hace | 62 descargas |

Thumbnail

Pregunta


Matlab disables monitor sleeping under Ubuntu
It seems once Matlab starts, the Ubuntu monitor won't fall into sleep, but stay on all the time on some Matlab versions. I have...

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Enviada


uiFileDnD
Drag and Drop OS file/folder(s) into uifigure

alrededor de 2 años hace | 3 descargas |

Thumbnail

Pregunta


can getpixelposition() be used for uifigure?
getpixelposition(hObj, recursive) is a convenient function to get the position of an object, especially when recursive is true....

más de 2 años hace | 1 respuesta | 0

1

respuesta

Respondida
deprecated javacomponent and javaframe
Some missing functionality are added gradually. After some test with R2020b, I can conform the following: figure icon is implem...

más de 2 años hace | 1

Respondida
programmatical access to current selection in uitable under uifigure
As mentioned in my previous post, Mathworks informed me the issue has been addressed since R2020a, but I did not find any docume...

más de 2 años hace | 4

| aceptada

Respondida
programmatical access to current selection in uitable under uifigure
In R2019b or earlier, there is no way to programmatically select a cell or row. This was confirmed with Mathworks and I requeste...

más de 2 años hace | 0

Respondida
How can I access subfunctions from outside the main function in MATLAB?
Here are two methods I use to access local functions. The m file may look like this: function varargout = myMainFunc(in, vararg...

más de 2 años hace | 0

Enviada


mp4_video
Create mp4 video from Matlab figure

casi 3 años hace | 1 descarga |

Enviada


Get computer MAC address
Get MAC address for different operating systems

más de 4 años hace | 3 descargas |

Respondida
Increase the plotting performance in the MATLAB level (drawmode/ optimizing rendering/ down sampling etc)
I found this thread while looking for solutions to speed up patch update. My figure has four patches, each with ~32k vertices. E...

alrededor de 5 años hace | 0

Pregunta


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...

más de 5 años hace | 1 respuesta | 1

1

respuesta

Respondida
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...

más de 5 años hace | 0

Pregunta


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

más de 5 años hace | 0 respuestas | 3

0

respuestas

Respondida
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...

más de 5 años hace | 1

Respondida
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...

casi 6 años hace | 0

Pregunta


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...

casi 6 años hace | 2 respuestas | 2

2

respuestas

Resuelto


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

más de 6 años hace

Respondida
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...

más de 6 años hace | 1

Pregunta


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 ...

alrededor de 7 años hace | 2 respuestas | 0

2

respuestas

Respondida
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. ...

alrededor de 9 años hace | 0

Respondida
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?...

alrededor de 9 años hace | 0

Pregunta


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...

más de 10 años hace | 0 respuestas | 0

0

respuestas