MATLAB Answers

What is the command behind "Open Project in Code Composer Studio"

8 ビュー (過去 30 日間)
Gergely Szabó
Gergely Szabó 2019 年 7 月 15 日
コメント済み: Gergely Szabó 2019 年 9 月 23 日
Hello everyone!
I am about to do some automation in my code generation, and I also would like to inculde the auto generated CCS project to this.
Does anyone happen to know, what is the command behind "Open Project in Code Composer Studio", which is shown in the Diagnostic viewer?

  2 件のコメント

Walter Roberson
Walter Roberson 2019 年 7 月 15 日
If you hover your cursor over it, then possibly it will show the link, probably in the form of a URI that starts with "matlab:"
Gergely Szabó
Gergely Szabó 2019 年 7 月 15 日
Hello Walter!
Thank for the tip. That was my first guess too, but it doesn't work, since this command appears in the Diagnostic Viewer.



Venkatesh Chilapur
Venkatesh Chilapur 2019 年 9 月 12 日
Hi Gergely,
The command that creates the link in diagnostic viewer is:
>>'TIC2000:codegen:OpenCCSProject','ccspath','proj folder'))
We launch the CCS that will import the rtw project by the following command:
Notice the 2 parameters, first is the full path to CCS install, second is the path to the rtw CCS project folder.
You can get the path to CCS install which is provided during support package setup by the following commands:
toolRootDir = codertarget.tic2000.setup.internal.getToolchainScriptingFolder(getActiveConfigSet(bdroot))
//bdroot is model name
CCS_InstallDir = fullfile(toolRootDir,'..','..')
We can rewrite the command to Open CCS now as:
Venkatesh C

  1 件のコメント

Gergely Szabó
Gergely Szabó 2019 年 9 月 23 日
Thank You !


その他の回答 (0 件)




Community Treasure Hunt

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

Start Hunting!

Translated by