Error while compiling SIMULINK code for dSpace ControlDesk..
23 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Vishwanathan
el 10 de Dic. de 2012
Editada: Ken Loveday
el 1 de Nov. de 2022
Hello,
I have the SIMULINK model and I use dSpace 1401 Microautobox. Whenever I try to compile the code, I have been getting the same error. I have copied the error below.
LINKING APPLICATION ... < lnkppc > (E) #A0317-D Cannot open file: C:\dSPACE\DS1401\RTLib\ds1401.lib
Errors: 1, Warnings: 0
-- call "C:\PPCTools37\BIN\lnkppc.exe" -QmsA0314 -QmsA0407 -QmeA0307 -QmeA0329 -m..\TC_20_RPC.map -o ..\TC_20_RPC.ppc -c _tmp_TC_20_RPC.lk
LINKING FAILED (1)
MAKE PROCESS ABORTED.
I have been trying to figure this out for a while. Please let me know if any of you guys know how to fix this issue. Any help would be greatly appreciated !
Thanks.
Vishwa.
3 comentarios
Ken Loveday
el 1 de Nov. de 2022
Editada: Ken Loveday
el 1 de Nov. de 2022
I had a very simular error (see below). Turns out it was because I had spaces in the Simulink (.slx) file path. Replaced spaces (and dashes) with underscores and code compiled and linked fine.
Orig file path (with error below): C:\Users\UserName\Documents\MyProject - Test\MyModel.slx
New file Path (no error): C:\Users\UserName\Documents\MyProject_Test\MyModel.slx
LINKING APPLICATION ...
< lnkppc >
(E) #A0317-D Cannot open file: C:\Users\UserName\Documents\MyProject.obj
Errors: 1, Warnings: 0
Respuesta aceptada
Azzi Abdelmalek
el 10 de Dic. de 2012
Editada: Azzi Abdelmalek
el 10 de Dic. de 2012
I have not the same card, mine is dSpace 1104, I will try to find out what is your problème, but before, answer these questions:
- The dSpace installed on your computer, did work corectly before,
- are using your card with Analog/Numeric I/O or just for simulations
- have you configured correctly your model
And I have doubts about simulink coder support windows 64 bits,
8 comentarios
Más respuestas (1)
khaled20
el 3 de Mayo de 2017
Dear sir greeting,
I have a request about loading a matlab file from dspace.
We have a block diagram in Simulink. We have 'build' the model in Simulink and run it. Now we are trying to use the model in Control Desk to run the real time interface. Every time we load a .sdf file or a .ppc file of the model, a new tab for the model does not open in the tool window of Control Desk. and we have got this error message 'Failed to access Simulink model,è Maybe a wrong model was loaded.
Best regards,
KHALED
0 comentarios
Ver también
Categorías
Más información sobre Simulink Coder en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!