Simulink PIL Block for Arduino Generation Error Looking for Non-Existent DLL: Line 1: Keyword expectedcannot open output file "C:\Daniel\OPTIX.dll:
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a controller block model file I would like to generate a PIL block off of to test it on an Arduino Uno. Going into the controller model, I set the model configuration parameters>hardware implementation>hardware board to Arduino Uno the clicked deploy to hardware. However, I've been getting an error when the PIL block is being generated that says the following:
C:\Daniel\OPTIX - Mobility\Simulation\Rev8\LQRController_DT_ert_rtw>exit /B 0 ### Successful completion of build procedure for model: LQRController_DT ### Creating HTML report file LQRController_DT_codegen_rpt.html ### Creating PIL block ... ### Connectivity configuration for "C:\Daniel\OPTIX - Mobility\Simulation\Rev8\LQRController_DT_ert_rtw": Arduino Board ### ### COM port: COM3 ### Baud rate: 115200 Building with 'lcc-win64'. ### Build procedure for model: 'LQRController_DT' aborted due to an error. Line 1: Keyword expectedcannot open output file "C:\Daniel\OPTIX.dll: Component:Simulink | Category:Block diagram error
I'm not sure what OPTIX.dll is suppose to be. I tried searching for it in the C drive (with all hidden files showing) but couldn't find it. I did have a folder named "OPTIX" under C drive but recently changed the name to "OPTIX - Vision". Could this have something to do with it? The "Daniel" folder also have read and write permission.
I have Simulink Support Package for Arduino Hardware, Matlab2017b, Embedded Coder and Simulink Coder installed.
Please let me know if you have any clues or would require more information to figure this out. Cheers!
<<
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/190948/image.png)
>>
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/190949/image.png)
0 Kommentare
Antworten (1)
Onur Kapucu
am 7 Jun. 2018
Bearbeitet: Onur Kapucu
am 7 Jun. 2018
I was getting the same error on 2018a. I solved it removing the spaces in my folder name. In your case, are you running the model inside a "OPTIX abc" folder?
If so, you can try removing the space and making it "OPTIXabc"
1 Kommentar
Emaa lumiere
am 5 Apr. 2020
because your folder's name has space , change it which hasn't any space (like Mywork_rasp)
Siehe auch
Kategorien
Mehr zu Arduino Hardware finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!