Failed to run the method "step" of the vision.GeometricTransformEstimator in the compiled exe file
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
I'm puzzled with compiling the exe file of the following code:
function inliers = Test()
pts1 = rand(100,2);
pts2 = rand(100,2);
gte = vision.GeometricTransformEstimator('PixelDistanceThreshold', 1);
[~,inliers] = step(gte,pts1,pts2);
end
The code can run successfully in the MATLAB R2012a environment, but the compiled exe file failled at the step "[~,inliers] = step(gte,pts1,pts2);" on the machine with the MCR installed. The exe file can also work well on the machine which have the MATLAB environment.By the way,I use "mcc -e -R '-logfile,logfile.txt' -v Test.m -N -p vision" to get the exe file.My OS is win7 (64bits),compiler is "Microsoft Visual C++ 2008 SP1".
Can anyone give me some hints,many thanks!
1 Kommentar
Akzeptierte Antwort
rocwoods
am 10 Aug. 2012
2 Kommentare
Kaustubha Govind
am 10 Aug. 2012
rocwoods: Thanks for posting your solution! Would you be so kind as to report this to MathWorks Tech Support please? This seems like it could be a bug, but Tech Support can confirm it and forward it to the appropriate development team.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!