2. Setting path

1. Copy the Data in the same order where your test-project is (e.g. C:\Users\DarkNemo\Documents\Visual Studio 2013\Projects).

Testfolder.png

2. Open Visual Studio and open the project ("file" -> "open" -> "project/solution").

open_project.png

3. In the toolbox change "Debug" to "Release" and "Win32" to "x64". If "x64" is not avaliable, you have to build/establish by clicking on "Configurations Manager"/"New".

x64_a.png

x64_b.png

x64_c.png

4a. Edit the Matlab-extern-include-path adapt for your computer "Debug" -> "<i>Project name</i> Properties..." -> "Configuration Properties" -> "VC++ Directories" -> "Include Directories" -> "Edit" ( e.g.. C:\Program Files\MATLAB\R2014b\extern\include).

4b. Edit the Matlab-bib-path adapt for your computer "Debug" -> "<i>Project name</i> Properties..." -> "Configuration Properties" -> "VC++ Directories" -> "Library Directories" -> "Edit" ( e.g. C:\Program Files\MATLAB\R2014b\lib\win64).

include_directories.png

5. Click "Debug" -> "<i>Project name</i> Properties..." -> "Configuration Properties" -> "Linker" -> "Input" and complete the missing "AdditionalDependencies": libeng.lib, libmat.lib, libmx.lib.

addictional_dependencies_1.png

addictionale_dependencices_2.png

6. Click right on Start-Button -> "System" -> "Advanced System Settings" -> "Enviroment Variables" and click on "path ..." in the system variables box. Click on edit and add your matlab-path (e.g. ;C:\Program Files\MATLAB\R2014b\bin\win64). Take care that every path are seperated by a semicolon.

Enviroment_Variables.png

7. Restart your Computer.

8. Open the command window by right clicking on the "start button", choose "run", type "cmd" and confirm it with "ok". The Command Window will open. Type "echo %path%" and confirm by clicking enter. If there is among other things the matlab-path, everything is right.

cmd.png

9. Go to Cloud 8 -> Input 1 and open RUNSIM with a right click -> edit. Adapt the four path to your path on your computer.

10. Open the Matlab-files (in Matlab or right click -> edit) in "Cloud8" -> "Input 1" -> "SimConfig" and adapt the path in "SimConfig_dp_sim".

RUMSIM.pngsimconfig.png

11. Open the Matlab-files (in Matlab or right click -> edit) in "Cloud8" -> "Output 1" -> "MatFiles" and adapt the path in "Videomaker".

videomaker.png

12. Maybe there are problems, if your graphic card is a bit older. Run Cuda Z and take a look at core -> compute capability. Click in Visual Studio "Debug" -> "<i>Project name</i> Properties..." -> "Configuration Properties" -> "Cuda C/C++" -> "Device".

For example:

Copute Capibility: 1.1 -> Code Generation: compute_11,sm_11

Compute Capibility: 2.1 -> Code Generation: compute_20,sm_20

compute20.png

13. Click "build" -> build solution. Maybe this takes a few secounds. In the output window should appear:

output_window.png

Back Table of Contents Forward

-- EvaMartenstein - 20 Apr 2015
Topic attachments
I Attachment Action Size Date Who Comment
Enviroment_Variables.pngpng Enviroment_Variables.png manage 80.3 K 2015-04-21 - 08:46 EvaMartenstein  
Test.pngpng Test.png manage 129.6 K 2015-04-21 - 08:25 EvaMartenstein  
Testfolder.pngpng Testfolder.png manage 81.5 K 2015-04-21 - 08:27 EvaMartenstein  
addictional_dependencies_1.pngpng addictional_dependencies_1.png manage 60.6 K 2015-04-21 - 08:44 EvaMartenstein  
addictionale_dependencices_2.pngpng addictionale_dependencices_2.png manage 16.4 K 2015-04-21 - 08:44 EvaMartenstein  
cmd.pngpng cmd.png manage 31.3 K 2015-04-21 - 08:46 EvaMartenstein  
compute20.pngpng compute20.png manage 56.0 K 2015-04-21 - 08:56 EvaMartenstein  
include_directories.pngpng include_directories.png manage 63.0 K 2015-04-21 - 08:35 EvaMartenstein  
open_project.pngpng open_project.png manage 63.8 K 2015-04-21 - 08:25 EvaMartenstein  
simconfig.pngpng simconfig.png manage 83.4 K 2015-04-21 - 08:50 EvaMartenstein  
videomaker.pngpng videomaker.png manage 103.6 K 2015-04-21 - 08:55 EvaMartenstein  
x64_a.pngpng x64_a.png manage 62.2 K 2015-04-21 - 08:33 EvaMartenstein  
x64_b.pngpng x64_b.png manage 16.4 K 2015-04-21 - 08:34 EvaMartenstein  
x64_c.pngpng x64_c.png manage 18.5 K 2015-04-21 - 08:34 EvaMartenstein  
Topic revision: r8 - 2015-04-22, EvaMartenstein
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)