I wanted to use opencv library in a mex function but it just kept telling me that opencv functions had not been declared. So I searched a bit and found out I should link them somehow but I couldn't figure out how.
Can anybody help me with that?
I'm using opencv2.4.2 and matlab 2012 on a 64-bit ubuntu11.10
Ok so i could't exactly solve the problem but I found this project which had done it and I just edited its functions and it worked fine.
Related
I have built a MINLP model in Pyomo in Linux system and I used SCIP to solve the model. Then I encountered the problem shown below.
enter image description here
Then SCIP starts optimization and takes a large amount of time. I googled the problem and found that SCIP is only able to use LAPACK through Ipopt. Then I followed the instruction to run make IPOPT=true (I have installed IPOPT). However, build failed.
enter image description here
Then I followed its suggestion to run make IPOPT=true READLINE=false ZLIB=false GMP=false and then new question appeared.
enter image description here
As for this question, I haven’t found any solution. When I run make GMP=true, it suggests me to use GMP=false, and when I run make GMP=false, it suggests me to use GMP=true.
So is there a way to make SCIP use the LAPACK library?
For the GMP=false/true issue, I suspect that the problem is that SoPlex was built with GMP=true and SCIP needs GMP=true as well. So if you want to try to build SCIP with GMP=false then SoPlex should also be built with GMP=false.
I cannot really say from your pictures why linking against Ipopt failed. Check all error messages and whether the symbols that the compiler thinks are missing are actually available in the lib that is linked against.
Use VERBOSE=true to see the actual linker call and check whether it makes sense.
The hints about readline, gmp, or zlib are misleading. Don't deactivate these if you do not actually have problems linking against these libs.
If you want only Lapack but no Ipopt, then there has been a post about this a while ago: lapack library for scip optimization
I'm trying to use libigl library for a program in Matlab R2016 on windows 10 but i can't understand how to set it and I haven't found a tutorial. Maybe is something trivial but I need help. Have you some hint/tutorial that can help me?
Thank you!
I would like to get a package written for MATLAB to run in Octave but have been informed by the package author ( see github page here ) that Octave doe not recognize the package's MATLAB syntax. Is there any hack I can implement to force Octave to see and be able to use the package?
I wrote to the maintainer of the Optunity package about this problem and he very quickly pushed out an Octave wrapper for the package. Everything seems to be working fine now :-)
I am supposed to work with an existing code in my work and at some places the previous programmer has extensively used Fimath function. Unfortunately, I am not having the license for the Fixed Point Designer toolbox and was looking for some alternatives.
I tried getting the fimath.m file from another source but it is referencing to some embedded libraries in the toolbox.
Is there some other way in which I can bypass this problem?
Thank You
I was following a tutorial in matlab documentation at http://www.mathworks.com/help/vision/examples/automatically-detect-and-recognize-text-in-natural-images.html
There they use a function helperGrowEdges but I it is not being recognized right now. I verified that I have Computer Vision System Toolbox. I am unable to figure how to implement it. It says it 'Grow the edges outward by using image gradients around edge locations', but I am unable to figure out how to implement is well.
As hinted out by Naveh, It works those functions are present only in MATLAB 2014 version and not in older versions.
Older versions do not have that example as well when I try to open edit TextDetectionExample
This example first appears in release R2014a. helperGrowEdges is a helper function, which goes with the example. Unfortunately it does not get published in the documentation. The only way for you to see it is to get access to an installation of MATLAB R2014a with the Computer Vision System Toolbox, and do edit helperGrowEdges.