The answer turned out to be surprisingly complicated, but it is sort of possible based on these articlaes:
How to define an include path with space in coder.updateBuildInfo('addIncludePaths',path)
    4 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
    Nikita Visnevski
 il 16 Ott 2019
  
    
    
    
    
    Modificato: Nikita Visnevski
 il 23 Ott 2019
            I have a need to include file from "C:\Program Files".  Specifically, 'ndds_standalone_type.h' from RTI DDS.  I have tried this
coder.updateBuildInfo('addIncludePaths','"C:\Program Files\rti_connext_dds-5.3.1\resource\app\app_support\rtiddsgen\standalone\include"');
Build yields an error:
c1xx: fatal error C1083: Cannot open source file: 'Files\rti_connext_dds-5.3.1\resource\app\app_support\rtiddsgen\standalone\include': No such file or directory DeployableMonitoringModule.cpp c:\users\200013405\documents\github\deploymentacceleration\src\matlab\examples\statemachines\CounterExample.h(20): fatal error C1083: Cannot open include file: 'ndds_standalone_type.h': No such file or directory
So, it clearly does not understand the space in the folder.  Any other way of doing it?  
I think Matlab toolboxes are also now going into some folder with "MATLAB Add-Ons" component in it, so if I cannot figure this out, I cannot include headers defined in an installed toolbox, which makes no sense.  There has to be a way.
Anybody has any thoughts?
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
				Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!