Community Profile

photo

Afzal


Last seen: 1 year ago Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 2
  • Explorer
  • Thankful Level 1

View badges

Feeds

View by

Answered
Model stop function callback cannot recognise variable when running with parsim
Found the solution here. Had to modify it slighlty. My function: function setParsimVars(in) for iVar = 1:length(in.Variable...

1 year ago | 0

| accepted

Question


Model stop function callback cannot recognise variable when running with parsim
I have a function writeDataToPhobos, which I have added to my model's StopFcn callback. This function works fine when running wi...

1 year ago | 2 answers | 0

2

answers

Question


How to add multiple variables to a structure
I have a cell ('varNames') containing variable names that I want to add to a structure ('s'). I am currently acheiving this usin...

1 year ago | 1 answer | 0

1

answer

Question


poly2mask not creating filled mask
I am trying to create a mask from the attached image (sampleEdges.png), which was obtaiend by applying the edge command to the s...

4 years ago | 1 answer | 0

1

answer

Question


Find template in image
I want to find the indices of the matching regions between the attached sampleImage and template. The result should be as higlig...

4 years ago | 0 answers | 0

0

answers

Question


Shell Application "Paste" Command
I would like to exexcute a paste command through the Shell applicaiton. I'm trying to replicate the VBA command CreateObject("S...

4 years ago | 0 answers | 0

0

answers

Question


Save Excel OLE Object to disk
I have a spreadsheet with two jpeg files embedded in it. I would like to extract these and write them to a specific directory. I...

4 years ago | 0 answers | 0

0

answers

Question


Image Edge Detection Using Edge Function
I would like to detect edges in the image in the attached TestImage.jpg. I've highlighted my region of interest in (ROI.jpg). I ...

4 years ago | 2 answers | 0

2

answers

Question


Combining Stacked Images Size
I am reading in two figures as I1 = imread('figure1.jpg'); I2 = imread('figure2.jpg'); I am then stacking them as I3 = [I1;...

4 years ago | 1 answer | 0

1

answer

Question


Legend not displayed correctly
I am plotting a 3-D plot of hand positions. 'Target positions' are marked with an 'o' in green. But when the legend comes up bot...

11 years ago | 0 answers | 0

0

answers

Question


Getting an error after rounding data.
I get an error saying 'Index exceeds matrix dimensions.' when I try to plot data rounded to 3 decimal places. It works fine with...

11 years ago | 1 answer | 0

1

answer

Question


How to increase filter length until required number of solutions is reached
I need to run a filter while increasing its length until the required number of solutions is reached. How should I define the va...

11 years ago | 0 answers | 0

0

answers

Question


Increasing value of filter till required number of solutions each reached
I need a while loop to increase the length, n, of a filter until I have 8 values that satisfy a result. The code that I have doe...

11 years ago | 1 answer | 0

1

answer

Question


How to store values of iterations
I have a for loop with an if condition. I want to store all the values of 'i' for which the codition is met. Right now it only s...

11 years ago | 1 answer | 0

1

answer