Community Profile

photo

Richard

MathWorks

Last seen: 5 days ago Active since 2011

Statistics

  • 3 Month Streak
  • Knowledgeable Level 3
  • Revival Level 1
  • First Answer

View badges

Content Feed

View by

Answered
handle class obj is getting only zero
I think that you might have incorrect syntax for the function definition of the rossubscriber callback. The documentation for t...

2 months ago | 0

Answered
Previously accessible file is now inaccessible.
The errot itself is related to performance optimizations within the dlnetwork class. You should be able to prevent it by specif...

3 months ago | 0

| accepted

Answered
Unrecognized function or variable 'GR_outputpredicted'. Error in testcnn (line 75) predictionError = test_GR_output - GR_outputpredicted;
As the error message says, the variable you tried to use does not exist. You have a typo on line 74. You have created GR_ouput...

4 months ago | 0

| accepted

Answered
I am getting error in "Denoise Speech Using Deep Learning Network" example?
The second error is being described by these lines in the output: Error using tall/cellfun (line 19) Unrecognized func...

5 months ago | 0

| accepted

Answered
cuda kernel does not work when a data is transfer to the GPU. any problem with my gateway MEX code?
Hi Moein, There is no way of allocating MATLAB arrays directly as pinned CUDA memory. Inputs to a mex function will always be ...

1 year ago | 0

| accepted

Answered
cuda kernel does not work when a data is transfer to the GPU. any problem with my gateway MEX code?
Moein, there are a couple of issues that I can see in the code. The first issue is that it is not initializing the GPU device i...

1 year ago | 0

Answered
Log axis on plots of different types
If you already have a set of axes with a plot in them then you need to explicitly set the y-axis on the existing axes handle: ...

8 years ago | 0

Answered
multiple datatip value extraction
Hi Kumaresan, You can get the values of datatip positions using the datacursormode and getCursorInfo functions: d = da...

10 years ago | 3

| accepted

Answered
Data Cursor Position Issue
Conor, sorry for the delay, I didn't notice your comment until today. This is a bug in older versions of MATLAB. I can see t...

11 years ago | 0

| accepted

Answered
A mysterious problem regarding NaNs, imagesc and subplots.
A workaround is to use a surface with flat shading (the default) and just view it from above. You do have to do a bit of extra ...

11 years ago | 1

Answered
Calling a variable from a variable
These kind of situations are best handled by storing the original data in a variable type that is designed to map strings to dat...

11 years ago | 0

Answered
CreateData function in MBC, selecting variables from a .mat file
Following on from Ian's reply, here is a concrete example of importing using a data structure. The easiest and most robust way ...

11 years ago | 3

Answered
Data Cursor Problem wtih Alt-Click
Mel, I can reproduce the error by doing the following: # Start GUIDE # Add a menu item, label it "File" and give it the tag ...

11 years ago | 0

| accepted

Answered
Data Cursor Problem wtih Alt-Click
Mel, At a glance this doesn't look like it can be directly caused by data cursors: it looks like a missing function in your g...

11 years ago | 0

Answered
loadobj input argument type determination?
You can think of objects as being saved as a set of pairs of properties and their values. When you load one, it creates a new o...

11 years ago | 0

Answered
Retrieve the figure from the surface fitting tool
If you generate code from your fit, and then run that code, it will produce the same set of plots that you originally had but in...

11 years ago | 0

| accepted

Answered
SEgmentation Violation detected. m_interpreter.dll errors
Firstly, I agree with Jan and Walter - it is always best to send segmentation violation stack traces directly to MathWorks Suppo...

11 years ago | 0

Answered
Create an empty array of class event.listener
You can create empty objects with the static empty() method of a class, as documented at <http://www.mathworks.com/help/techdoc/...

11 years ago | 3

| accepted

Answered
Help vectorize my poor code or make it faster
If your y and z values are all integers then I think this will work in place of the nested for loops: idx = sub2ind(size(ma...

11 years ago | 1

| accepted

Answered
How do I start matlab from shell in 32 bit mode
Use the win32 option: matlab -win32

11 years ago | 0

Answered
Log scale graphic with negative value
When you choose "log" as the scale for an axis, Matlab either chooses to use log10(x) or -log10(-x) as the transform, depending ...

11 years ago | 4

Answered
'horzcat' error when using dicomread() within a for-loop
In the call to dicomwrite you have tried to concatenate the matrix of pixel data (I) with the name of the file - basically, you ...

11 years ago | 1

| accepted

Answered
data cursor errer
This error is caused by having a script called "line" on the MATLAB path and this is "shadowing" the built-in MATLAB line functi...

11 years ago | 0