Error from metricSSD function

1 view (last 30 days)
subodh hegde
subodh hegde on 4 Jul 2014
Commented: Eric on 28 Apr 2015
Sir,
I am trying to extract and match features between two frames of a video sequence. I am using matlab simulink embedded coder. I used a Matlab Function block to capture two frames and calculate the features and match. But while building the model it shows an error as shown below
Computed maximum size of the output of function 'metricSSD' exceeds maximum allowed number of elements (134217728).
The error is from the function 'cvalgmatchfeatures.m'.
When I opened the 'cvalgmatchfeatures.m' function the corresponding line that shows arror is this
scores = metricSSD(features1, features2, N1, N2, output_class);
What may be the reasonfor it. How do I rectify it.
Any help regarding this issue will be very useful for me..
Thanks and regards. Subodh Hegde
  1 Comment
Eric
Eric on 28 Apr 2015
Hi,
I am having the same problem and have found their is no information on how to change the settings for simulink. There is a fair amount of information for codegen and the mex compilier.
These pages provide additional information
mexcfg = coder.mexconfig; mexcfg.DynamicMemoryAllocation='Off'; codegen -config mexcfg ????
These pages talk to a specific matlab function but not how to reference a simulink model.

Sign in to comment.

Answers (0)

Categories

Find more on Deep Learning with GPU Coder in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!