ERROR: MATLAB R2017a cannot run RTI Connext Shapes Demo
Mostra commenti meno recenti
DDS.import('ShapeType.idl','matlab', 'f')
Warning: DDS.Utilities.getRtiPaths: Unable to obtain mex compiler info. rtiddsgen preprocessor is being disabled. To correct, run mex -setup
> In DDS.Utilities.getRtiPaths
In DDS.Utilities.convertIDLtoXML
In DDS.import
INFO com.rti.ndds.nddsgen.Main Running rtiddsgen version 2.5.0, please wait ...
INFO com.rti.ndds.nddsgen.Main Done
Error using DDS.Utilities.convertDDStoMathWorksType
DDSType: int32
Error in DDS.internal.readTypesXML.Member
Error in DDS.internal.readTypesXML.Struct
Error in DDS.internal.readTypesXML.readTypesXML/readType
Error in DDS.internal.readTypesXML.readTypesXML
Error in DDS.import
5 Commenti
Walter Roberson
il 23 Set 2017
Modificato: Walter Roberson
il 23 Set 2017
Notice that the Windows version there is for 32 bit Windows.
Unfortunately I do not see a date on https://www.mathworks.com/videos/matlab-and-the-dds-support-package-107760.html or https://www.mathworks.com/videos/simulink-and-the-dds-support-package-107761.html but I do see http://blogs.rti.com/2017/02/23/use-matlab-to-leverage-your-live-iot-data is for R2016b (which would be 64 bit)
Ah, https://www.mathworks.com/videos/installing-the-dds-support-package-r2017a-and-later--1489171911502.html is specifically R2017a or later; perhaps the instructions there will help?
Humza Wali
il 23 Set 2017
Modificato: Walter Roberson
il 23 Set 2017
Walter Roberson
il 23 Set 2017
Modificato: Walter Roberson
il 23 Set 2017
mex -setup C
might be required.
Also note that MATLAB R2017a for MS Windows supports VS 2015 Professional but not VS 2015 Community.
Humza Wali
il 23 Set 2017
Modificato: Walter Roberson
il 23 Set 2017
Ibrahim Nemer
il 24 Set 2018
Sorry Sir, Did you find any solution for this kind of error? It's almost same to your error.
>> DDS.import('ShapeType.idl','matlab', 'f'); INFO com.rti.ndds.nddsgen.Main Running rtiddsgen version 2.5.2, please wait ... ERROR com.rti.ndds.nddsgen.Main Fail: java.lang.Exception: Error executing
Risposte (1)
Walter Roberson
il 23 Set 2017
0 voti
You need to install a compiler suitable for your release, and run mex -setup
2 Commenti
Humza Wali
il 23 Set 2017
Modificato: Walter Roberson
il 23 Set 2017
Humza Wali
il 23 Set 2017
Modificato: Walter Roberson
il 23 Set 2017
Categorie
Scopri di più su Write C Functions Callable from MATLAB (MEX Files) in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!