統計
All
Feeds
質問
uicontrol of pushbutton cannot set text color
% Create a figure fig = figure; % Create a uicontrol button with red color btn = uicontrol('Style', 'pushbutton', 'String...
約2ヶ月 前 | 1 件の回答 | 0
1
回答質問
questdlg button: how to show multiple lines as choice?
When I set the optional answers for questdlg, a prolem is that if the string is too long, the dialogue will be too wide. I am s...
約2ヶ月 前 | 0 件の回答 | 0
0
回答質問
figure resize behavior control: from bottom or from top
Hi, I encountered a problem when I resized a figure: The aim of resizing is to manually drag the top/bottom boundary to adjust t...
3ヶ月 前 | 1 件の回答 | 0
1
回答質問
How to work with Java 9 Platform Module System (JPMS) runtime image from within Matlab?
Matlab could add the jar files into javaclasspath and call the methods inside the jars. However, from Java9, there is another wa...
4ヶ月 前 | 0 件の回答 | 0
0
回答質問
The blank before var >0.5 cause error in R2016a
I found a strange behavior in R2016a command line. The additional blank before > cause problem: >> aAreaVec = rand(5,1) aAreaV...
5ヶ月 前 | 2 件の回答 | 0
2
回答質問
Is there a uicontrol to let user rearrange rows of strings?
The aim is to show several rows of strings, and let the user freely sort the strings by drag. The listdlg cannot let the user t...
12ヶ月 前 | 1 件の回答 | 0
1
回答質問
How to undo axis(gca,'image')
I use imagesc to show a demo: imagesc % a photo shows, with blank on top, stretchable by the resize of the window axis...
約1年 前 | 1 件の回答 | 0
1
回答質問
get(gca,'DataAspectRatio') does not refelct the real pixel ratio, and does not upate after stretching the figure window in default auto mode.
Hi, I am using imagesc to show a matrix and want to get the aspect ratio of pixels at that time: C = [0 2 4 6; 8 10 12 14; 16 1...
約1年 前 | 1 件の回答 | 0
1
回答回答済み
Generate DICOM file sequence from Matlab
Yes this SeriesInstanceUID and StudyInstanceUID solved my problem. I think to get 3D volume you may need other parameters like...
Generate DICOM file sequence from Matlab
Yes this SeriesInstanceUID and StudyInstanceUID solved my problem. I think to get 3D volume you may need other parameters like...
約1年 前 | 0
回答済み
H5F.close(fid) flush was delayed, and cause problem when calling h5create afterwards
solved by H5F.flush(fid,'H5F_SCOPE_GLOBAL') H5F.close(fid)
H5F.close(fid) flush was delayed, and cause problem when calling h5create afterwards
solved by H5F.flush(fid,'H5F_SCOPE_GLOBAL') H5F.close(fid)
1年以上 前 | 0
| 採用済み
質問
H5F.close(fid) flush was delayed, and cause problem when calling h5create afterwards
Hi, I am using low-level H5 commands to create a h5 file and do something on it, then close it. Then I use h5 high-level funct...
1年以上 前 | 1 件の回答 | 0
1
回答質問
Sort or place several points into the nearst point in an unknown a x b grid, and get each point's (i,j) index in the grid.
Hi I encountered a problem when I try to allocate K points into a horzontal/vertical grid of unkonwn size. Suppose there are va...
1年以上 前 | 1 件の回答 | 0
1
回答回答済み
WindowButtonMotionFcn cannot be changed in later time
I found the reason: zoom yon this command modifies the pan callbacks into an temporary status, thus modification of pan callba...
WindowButtonMotionFcn cannot be changed in later time
I found the reason: zoom yon this command modifies the pan callbacks into an temporary status, thus modification of pan callba...
1年以上 前 | 0
| 採用済み
質問
WindowButtonMotionFcn cannot be changed in later time
Hi, I am creating a figure and customize the pan-function: function hFig = mouse_figure ... hFig = figure; set(hFig,... ...
1年以上 前 | 1 件の回答 | 0
1
回答質問
textscan(fid,'%s','delimiter',{'\r','\n'}) lost a Tab located in the very beginning of 1st row of text file
Hi, I am using textscan to read a tsv file. This tsv file has an empty cell in the {1,1} position, but the textscan lost this t...
1年以上 前 | 1 件の回答 | 0
1
回答質問
bsxfun @times the row sum and @rdivide the (1./row sum) does not produce same results
Hi, I am using bsxfun to divide a matrix by row sum. That is to say, each number is divided by the sum of row it is located. I ...
1年以上 前 | 2 件の回答 | 0
2
回答質問
listbox cannot make it select single or none, it has to be single or multiple.
Hi,I am using listbox to select item. The aim is to select only one, or no select. I set min to 0 and max to 1, but the ui doe...
1年以上 前 | 1 件の回答 | 0
1
回答質問
imagesc is missing several rows of pixels when image has 1780 rows of pixel
% Simple demo to reproduce the bug. % Purpose: show 2000x300 image by imagesc with yticklabel, % then do "Y-only" zoom fo...
1年以上 前 | 0 件の回答 | 0
0
回答質問
stop and re-start timer inside TimerFcn cause pseudo-multiple parallel duplicated timer (in fact only 1 timer exist) running.
I start a timer and need to update the Period property during the running when some condition was met. inside (I put the code ...
2年弱 前 | 0 件の回答 | 1
0
回答回答済み
Programmatically performing "Expand axes to fill figure"?
works not very well if there are text or annotation created outside the plot area as they will be partially cropped. axis tickl...
Programmatically performing "Expand axes to fill figure"?
works not very well if there are text or annotation created outside the plot area as they will be partially cropped. axis tickl...
2年弱 前 | 0
質問
keypress callback in figure works but always send a copy of key to matlab command line afterwards
Hi,I am writing a callback to a figure: f=figure; imagesc(rand(56,67)) % set(f,'KeyPressFcn',[]); set(f,'WindowKeyPressFcn',...
2年弱 前 | 0 件の回答 | 0
0
回答質問
javaaddpath not update during runtime inside a function
Hi, I encountered a problem trying to load a jar inside a function. The problem is that when the function runs, it goes into in...
2年以上 前 | 0 件の回答 | 0
0
回答質問
com.google.gson appears multiple time in matlab jar library and refuse to load new version of com.google.gson
I have encountered this problem in many times in the past years. Matlab has several library jars with com.google.gson class, in...
2年以上 前 | 0 件の回答 | 0
0
回答回答済み
How to let a lab tell if another lab is idle or not in a spmd block at that time : isidle(labindex)
labProbe can solve this problem.
How to let a lab tell if another lab is idle or not in a spmd block at that time : isidle(labindex)
labProbe can solve this problem.
2年以上 前 | 0
| 採用済み
質問
How to let a lab tell if another lab is idle or not in a spmd block at that time : isidle(labindex)
Hello, Is there a way to let lab 2 know if a lab 1 is idle or not in a specific timepoint: % an example (not related to reali...
2年以上 前 | 2 件の回答 | 0
2
回答質問
m file code sometimes loss a "end" and corruput the file on hard disc.
I encountered some very rare error (~1 occurance/year). The error is that when I run matlab project/functions, very rarely the ...
2年以上 前 | 1 件の回答 | 0
1
回答送信済み
loop pause continue manipulator
This small panel can pause during a loop by switch the button anytime. If switch to pause, next loop will pause,, until switc...
2年以上 前 | ダウンロード 0 件 |
質問
Can I delete the folder C:\MATLAB\SupportPackages\R2016a\downloads?
I have installed several Suppoer Packages before, but my C drive is almost full. I found several large files, such as NIDAQ145...
3年弱 前 | 0 件の回答 | 0
0
回答回答済み
PowerPoint ActiveX(COM interface) became very unstable suddenly
The problem is solved by 2 ways: (1) always use admin account. (2) let admin entitle the admin privileges to the account to be...
PowerPoint ActiveX(COM interface) became very unstable suddenly
The problem is solved by 2 ways: (1) always use admin account. (2) let admin entitle the admin privileges to the account to be...
3年弱 前 | 0
| 採用済み
質問
PowerPoint ActiveX(COM interface) became very unstable suddenly
Hi, I have been using ActiveX to control powerpoint (such as insert picture, text box) for a long time. The background is that,...
3年弱 前 | 1 件の回答 | 0