Hi Gergely,
The command that creates the link in diagnostic viewer is:
>> Simulink.output.info(DAStudio.message('TIC2000:codegen:OpenCCSProject','ccspath','proj folder'))
We launch the CCS that will import the rtw project by the following command:
codertarget.tic2000.internal.openCCSproject('C:\ti\ccsv7','c:\xyz\c28069blink_cla_ert_rtw\CCS_Project')
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:
codertarget.tic2000.internal.openCCSproject(CCS_InstallDir,'c:\xyz\c28069blink_cla_ert_rtw\CCS_Project')
HTH,
Regards,
Venkatesh C
2 件のコメント
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/471811-what-is-the-command-behind-open-project-in-code-composer-studio#comment_724726
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/471811-what-is-the-command-behind-open-project-in-code-composer-studio#comment_724726
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/471811-what-is-the-command-behind-open-project-in-code-composer-studio#comment_724732
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/471811-what-is-the-command-behind-open-project-in-code-composer-studio#comment_724732
サインインしてコメントする。