What is the command behind "Open Project in Code Composer Studio"
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Gergely Szabó
el 15 de Jul. de 2019
Comentada: Gergely Szabó
el 23 de Sept. de 2019
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?

Best,
Gergely
2 comentarios
Walter Roberson
el 15 de Jul. de 2019
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:"
Respuesta aceptada
Venkatesh Chilapur
el 12 de Sept. de 2019
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
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!