How to call a mexw64 function?

16 visualizzazioni (ultimi 30 giorni)
Hugo Huerta
Hugo Huerta il 27 Mag 2019
Commentato: James Tursa il 29 Mag 2019
Hi.
I am trying to run a script in matlab which calls a mexw64 function. I have read previous questions regarding this issue, but I still cannot find a way to call it properly.
I have the following error:
Undefined variable "function" or class "function.mexw64"
What I have tried is the following:
The mexw64 function is in the same folder as the script where is being called.
I have matlab2018 and MS Windows (both of them 64 bits) and the MinGW64 Compiler
Please... Any suggestion to solve this problem?
  9 Commenti
Walter Roberson
Walter Roberson il 29 Mag 2019
First I recommend that you look in the File Exchange for File Association Fix.
After that I would suggest that in MATLAB you command
rehash
If there is still a problem after that then a dll needed by the mexw64 might be missing.
James Tursa
James Tursa il 29 Mag 2019
You could also check for unprintable characters in the file name. E.g.,
d = dir;
dname = {d.name};
ismember('andorsdk3functions.mexw64',dname)

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Tag

Prodotti


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by