Compiling C code generated using RTW in Visual Studio
2 views (last 30 days)
Show older comments
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?
0 Comments
Answers (0)
See Also
Categories
Find more on Simulink Coder in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!