I am using MATLAB 7.14 (R2012a) 32-bits on a Windows machine. I have set up the LCC compiler by running the following command in MATLAB:
>> mex -setup
I can MEX timestwo.c without any issues.
When I try to load a shared library with
>> loadlibrary('mylibrary.dll', 'myheader.h')
or try to get the chosen compiler with
>> mex.getCompilerConfigurations
I get the following error: ERROR: Warning: ''Test' is not recognized as an internal or external command, operable program or batch file. LCCINSTALLDIR' exceeds MATLAB's maximum name length of 63 characters and has been truncated to ''Test' is not recognized as an internal or external command, op'. > In CompilerConfigurationFactory>CompilerConfigurationFactory.determineLocation at 268 In CompilerConfigurationFactory>CompilerConfigurationFactory.process at 127 In getCompilerConfigurations at 56 Reference to non-existent field ''Test' is not recognized as an internal or external command, op'. Error in mex.CompilerConfigurationFactory/determineLocation (line 268) location = detailStruct.(outputValue); Error in mex.CompilerConfigurationFactory/process (line 127) basicStructArray(numberOfLangs).Location = determineLocation(obj, storageLocations{index}, basicStructArray, detailsStruct); Error in mex.getCompilerConfigurations (line 56) compConfig = process(ccF);
Best Answer