Compiling C code generated using RTW in Visual Studio

1 Ansicht (letzte 30 Tage)
archana b m
archana b m am 2 Dez. 2012
I created a visual studio solution in RTW.I now want this to be used in another system which does not have MATLAB. But i am still not able to compile in Visual studio. I have the following errors.
1> adder_test.c 1> grt_main.c 1>c1 : fatal error C1083: Cannot open source file: '..\..\..\..\..\..\Program Files\MATLAB\R2012a\rtw\c\grt\grt_main.c': No such file or directory 1> rt_logging.c 1>c1 : fatal error C1083: Cannot open source file: '..\..\..\..\..\..\Program Files\MATLAB\R2012a\rtw\c\src\rt_logging.c': No such file or directory 1> rt_nonfinite.c 1> rt_sim.c 1>c1 : fatal error C1083: Cannot open source file: '..\..\..\..\..\..\Program Files\MATLAB\R2012a\rtw\c\src\rt_sim.c': No such file or directory
It is trying to access the files from the folder structure that does not exist in my system but exists in the system who created this model. How do i overcome this?

Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by