Question

Can Java Generic classes be instantiated in MATLAB?

I am able to instantiate non-generic classes in MATLAB. But how do I instantiate typed versions of generic classes, like *java.u...

5 years ago | 0 answers | 0

Question

How can one get uigetdir/uigetfile to remember last opened directory?

Neither *uigetdir* nor *uigetfile* remember the last directory selected or the directory of the last file selected. Is there a w...

5 years ago | 2 answers | 0

Question

How does on create a vector of class based on class name given as string?

Suppose I have a function that should create and return a vector of a certain class where the class name is passed in as a char ...

5 years ago | 2 answers | 0

Question

Most correct way to pass shared data between callbacks in GUIDE gui application

I read the documentation for GUIDE and it suggests a couple of ways to share data between callbacks. My GUIDE application will h...

5 years ago | 1 answer | 0

Question

MATLAB 2015 slider gui question

I have MATLAB 2014a and I know that the GUI slider does not have well-documented functionality for continuous slider callbacks (...

5 years ago | 3 answers | 0

Answered

Optimization on movie command

Hi Nguyen. you can set the frames-per-second for playback with the movie function. The function signature is something like this...

Optimization on movie command

Hi Nguyen. you can set the frames-per-second for playback with the movie function. The function signature is something like this...

5 years ago | 0

Answered

How to implement a function within another one ?

I read through your example and it looks like the language functionality you are looking for are nested functions. Please see th...

How to implement a function within another one ?

I read through your example and it looks like the language functionality you are looking for are nested functions. Please see th...

5 years ago | 0

| accepted

Question

MATLAB Certified Associate/Professional

Do we have any here? Just curious. It has been a while since it was released and I am wondering if any of the most esteemed cont...

6 years ago | 3 answers | 0

Answered

Imregtform - how can I separate the rotation and translation?

I have dabbled with this before just to try out MATLAB's capabilities and am no expert in the area of linear transformations, so...

Imregtform - how can I separate the rotation and translation?

I have dabbled with this before just to try out MATLAB's capabilities and am no expert in the area of linear transformations, so...

6 years ago | 0

Question

Editor code completion for MATLAB Handle classes?

When working with the definition for a handle class. Can the code completion feature see the methods and properties of the class...

6 years ago | 2 answers | 1

Question

Non-MATLAB alternatives to Axes

Does anyone know of any non-MATLAB GUI toolkits that can emulate the behavior of the Axes object in MATLAB? The Axes was specifi...

6 years ago | 0 answers | 0

Question

Does MATLAB use Perl for Regexp?

I notice that the sys folder of the MATLAB 2014a root installation contains a Perl runtime. Is this Perl runtime used by MATLAB ...

6 years ago | 1 answer | 0

Question

Question about getpts.m code

I was looking at the source code for the function <http://www.mathworks.com/help/images/ref/getpts.html getpts.m>, which in 2014...

6 years ago | 1 answer | 0

Question

MATLAB Student version upgrade question

I bought the student version of MATLAB 2014a and a couple of toolboxes. If 2014b comes out and it turns out one of the toolboxes...

6 years ago | 1 answer | 0

Question

MATLAB Compiler compatibility question for function getpts

Hi all. I have the image processing toolbox and am about to package my program using MATLAB Compiler 2014a. I use the getpts.m f...

6 years ago | 1 answer | 0

Answered

How to convert text line into numbers

As mentioned before, regular expressions provide more intuitive solutions (once you get the hang of the basics). This short snip...

How to convert text line into numbers

As mentioned before, regular expressions provide more intuitive solutions (once you get the hang of the basics). This short snip...

6 years ago | 0

Answered

Hi guys. I need help splitting a number into its individual parts and then add them. E.g. the number would be 1994 = 1 + 9 + 9 + 4 = 23

When you say you do not want the number to turn to a scalar, I think what you are saying is you don't want to convert the scalar...

Hi guys. I need help splitting a number into its individual parts and then add them. E.g. the number would be 1994 = 1 + 9 + 9 + 4 = 23

When you say you do not want the number to turn to a scalar, I think what you are saying is you don't want to convert the scalar...

6 years ago | 4

| accepted

Question

Callback of axes in figure not being called

Below is the code for a complete GUI that creates a simple figure (figure1) and an axes inside of it (axes1) . axes1 contains an...

6 years ago | 1 answer | 0

Answered

Convert an RGB image to grayscale but keep one color?

I am guessing you want the green channel stored in a separate matrix. In your code, A is only read. Its value does not change a...

Convert an RGB image to grayscale but keep one color?

I am guessing you want the green channel stored in a separate matrix. In your code, A is only read. Its value does not change a...

6 years ago | 0

Question

Make GUI Slider behave like iOS frame scroller

It is my understanding that the MATLAB GUI *Slider* cannot be made to behave like a frame scrubber. Suppose I have a *Slider* co...

6 years ago | 1 answer | 0

Question

Does MATLAB have a development roadmap available

Does MATLAB publish a "roadmap" that shows which features will be pulled out of future versions and what new features will be in...

6 years ago | 0 answers | 1

Answered

How to run Thorlabs Camera on Matlab?

According to Thorlabs documentation this is possible. See: <http://www.thorlabs.com/newgrouppage9.cfm?objectgroup_id=4024&pn=DCC...

How to run Thorlabs Camera on Matlab?

According to Thorlabs documentation this is possible. See: <http://www.thorlabs.com/newgrouppage9.cfm?objectgroup_id=4024&pn=DCC...

6 years ago | 0

Question

Problem with subreferencing (subsref) operator overload

I am experiencing a problem with operator overloading of the subreferencing operator for a class. Below is an illustrative MATLA...

6 years ago | 1 answer | 0

Answered

Bizarre value class behavior

So does this mean that for a value class, if I want to call a function on an instance of that value class which modifies the sta...

Bizarre value class behavior

So does this mean that for a value class, if I want to call a function on an instance of that value class which modifies the sta...

6 years ago | 0

Solved

Convert a grayscale image into RGB colour format, preserving data type

In the Image Processing Toolbox, MATLAB provides rgb2gray to convert a 3 channel color image into a 1 channel intensity...

6 years ago

Problem

Convert a grayscale image into RGB colour format, preserving data type

In the Image Processing Toolbox, MATLAB provides rgb2gray to convert a 3 channel color image into a 1 channel intensity...

6 years ago | 1 | 21 solvers

Question

Bizarre value class behavior

Below is a self-explanatory VALUE class I developed for purposes of illustration. classdef ClassA propertie...

6 years ago | 3 answers | 0

Question

Handling user-defined matlab class returned from Java collection

Suppose I have a user defined MATLAB class like this: classdef A properties property1; property2; ...

6 years ago | 2 answers | 0

Question

Displaying frames in GUIDE

I have a necessity to display frames of a video in an axes object (or some other suitable alternative) with the requirement that...

6 years ago | 1 answer | 0

Question

Problem instantiating a Java class

I want to make use of the geometry classes in java.awt.geom.* in MATLAB. I can instantiate some classes like java.awt.geom.Area ...

6 years ago | 1 answer | 0