How do I include libraries?
Ältere Kommentare anzeigen
I have a zip file downloaded for a library I want to use, but I am not sure where to extract it to. Also, what command sequence do I use to include the library once I have it extracted correctly?
Will this fix my 'unable to compile' error?
10 Kommentare
Guillaume
am 3 Jul. 2018
It very much depends on what the library is. Have you got a link to it?
Usually, a library worth downloading would also have instruction on how to install it. Is this not the case?
Evan Mossel
am 3 Jul. 2018
Adam
am 3 Jul. 2018
Just put the files somewhere on your path. You'll have to build a mex for that but it is in mentioned in the introductory section of the main file that you download.
Evan Mossel
am 3 Jul. 2018
Evan Mossel
am 3 Jul. 2018
Bearbeitet: Evan Mossel
am 3 Jul. 2018
Adam
am 4 Jul. 2018
Errors in an arbitrary 3rd party submission on file exchange are usually best asked of the author, though if you give more information here people may be able to help. Just saying you get a compiling error doesn't give any information for anyone to help you.
Aarti Dwivedi
am 4 Jul. 2018
MATLAB usually does a good job of using from a particular library if it can find in its path. Have you tried adding the library to your path?
Evan Mossel
am 5 Jul. 2018
Aarti Dwivedi
am 6 Jul. 2018
Have you tried putting breakpoints in your code to investigate more?
Evan Mossel
am 6 Jul. 2018
Antworten (0)
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!