Risposto
Create matrix with elements representing distance from centre of matrix
Here's my attempt - not sure if its the best way: n=5; % n must be odd (nxn matrix) ...

circa 3 anni fa | 0

Domanda


Create matrix with elements representing distance from centre of matrix
Hello. If i have a 3x3, 5x5 or 7x7 matrix or generally a nxn matrix where n is odd, i want each element to represent the distanc...

circa 3 anni fa | 3 risposte | 0

3

risposte

Domanda


Converting an array of doubles to a string
Whats the best way to convert v which is a class double. v = 0 0 2736 1824 ans = ...

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Image Acquisiton Timing Variation
Hello, I am seeing a wide variation on timing issues using the IMAQ (with Genicam adaptor) vidobj=app.vidobj1; tic...

oltre 3 anni fa | 0 risposte | 0

0

risposte

Risposto
Convert some columns in 'double array' to single digit, rest as bank and then put in UITable
I found this works: C = num2cell(T) app.UITable2.Data=C; app.UITable2.ColumnFormat={'c...

oltre 3 anni fa | 0

| accettato

Domanda


Error using tiledlayout syntax instead of subplot when referencing axes handles
Hello, I am trying to use the newer tiledlayout feature rather than subplots as I want to adjust the padding round each subplot....

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


Convert some columns in 'double array' to single digit, rest as bank and then put in UITable
Hello, I have an array (class='double) T = 1.0000 1.0000 1.0000 1.3521 0.1780 0 1.3966 10.000...

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


User Defined Montage but filling 12x8 Array
Hello, I am scanning a sample that has a possible 12x8 locations. The user defines the positons to scan and the scan order is in...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Risposto
Reversing parts of (even) items in a listbox (cellarray)
Here is my solution based on Cris' answer: val = app.SNAKESCANCheckBox.Value; switch val ...

oltre 3 anni fa | 0

Domanda


Reversing parts of (even) items in a listbox (cellarray)
Hello, I have items in a listbox (so cell array) - the integers before the "r" can be any number from 1-12. My aim is to take...

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


Reversing the order of EVEN rows in an array
I have a matrix D that consists of 12 cols and 8 rows. How can I reverse the order of even rows. i.e. for a simplifeid 4,3 cas...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Help with reading the functions inside a library
Is there a reason why the code below cannot find the dll that IS in the directory as shown (there is also the h file with the sa...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Using addpath on Compiled Code
Hello. I have run into a problem using a compiled EXE of my code on a target computer (running the MCR) On my computer where I ...

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


bar chart allowing for x values to sometimes be the same
Hello. I am plotting the data from a UITable using a bar chart I am plotting color versus TotalArea, and quite often the ...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Extracting fieldnames and values from a struct and converting to strings
Hello. I have a struct containing information from a camera configuration (using imaq) currentConfiguration = struct wit...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Making a change in appdesigner when deployed permanent
Hello. I have an app that controls several external devices using the comms port and serial communication. I use the same app on...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Improfile changing colour of plot
Hello, does anyone know if its possible to change the colour of a plot created by improfile?

oltre 3 anni fa | 1 risposta | 0

1

risposta

Risposto
showing Results of Serialportlist in a UITextArea
This seems to work freeports = serialportlist("available") str=sprintf('%s\t', freeports{1:end}); ...

oltre 3 anni fa | 0

| accettato

Domanda


showing Results of Serialportlist in a UITextArea
Hello, I would like to display the available ports on my PC using serialportlist("available") I have come across the evalc..c...

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


ImpixelInfo equivalent for Appdesigner
Hello, I am trying to create the same effect as impixelinfo in GUIDE in appdesigner. I understand thereis no such function for ...

oltre 3 anni fa | 0 risposte | 0

0

risposte

Domanda


Heatmap title - Interpreter (AppDesigner)
Hello, I don't seem to be able to allow underscores in the title of heatmaps (Im using filenams that have underscores in them) ...

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


Appdesigner - slider changed function - missing argument
Hello, I am trying to programmatically change the scaling of an imgae on a uifigure by using a slider fig = uif...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Appdesigner button disable not working when called in side pushbutton callback
Hello. I have a pushbutton that I want to prevent the user from pushing agin until the current code has finished. So I did thi...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Calling a method in a library that has an "HandlePtr" argument
Hello I am trying to get a Z stage working with matlab. The Vendor (Dover Motion) have shared their dll. This is the first time...

oltre 3 anni fa | 0 risposte | 0

0

risposte

Domanda


Wrapper objects and Matlab
Hello. I am using matlab to control a spectrometer. The spectrometer uses a Wrapper object - described as below "Before you can...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Accessing functions in dll
Hello, I am trying to access a motorised stage that has its own sdk. Im not a c or c++ programmer and have been told the fol...

oltre 3 anni fa | 0 risposte | 0

0

risposte

Domanda


Strange Behaviour using Zoom with app designer
Hello. I have an image on a UIAxes and want to use a checkbox to either zoom in 4X, or retrun to 1x. I have tried this: ...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Combining 5 images from a camera and add them together to yield one image.
Hello I am using the image aquistion toolbox to obtain images froma a camera. I am set up the capture 5 frames, and I obtain th...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Redrawing an image in a UIAxes that has already been drawn
Hello, I am using Appedesigner where I have a ImageButtonDownCallback(app, source, eventargs) event that takes an image from a...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Strange behaviour with uigetfile in APPDesigner (not observed in GUIDE)
Hello. I am updating my code from GUIDE and have found a strange effect using uigetfile. It works fine in GUIDE. what happens ...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Carica altro