Calling C/C++ libraries (with associated cstring pointers) in MATLAB
Mostra commenti meno recenti
Hey i want to call library sb of external software into MATLAB. I tried unsing following:
[Status, Errormsg]=calllib(‘sb’, ‘sbdb’, Dbloc, Dbname)
But calllib function could not be executed. MATLAB is giving error msg: “No matching method found”
Please tell me how can I call functions with cstring pointers in MATLAB
Thanks & Regards,
Somayyah
3 Commenti
Philip Borghesani
il 16 Mar 2016
Modificato: Philip Borghesani
il 16 Mar 2016
What is the output of
libfunctions sb -full
For the function sbdb? What does the library documentation say about the required inputs and outputs of the function sbdb?
There is no point in initializing left hand side variables that are not indexed in the assignment in any matlab code. Initialize a but not b in below code:
[a(1), b]=myfun;
Philip Borghesani
il 17 Mar 2016
Modificato: Philip Borghesani
il 17 Mar 2016
Is SPDB here a typo or did you not give the signature for sbdb? Does SBDB show up in the libfunctions output?
somayyah jurair
il 17 Mar 2016
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Call C from MATLAB in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!