{"id":19032,"date":"2026-12-03T16:06:35","date_gmt":"2026-12-03T21:06:35","guid":{"rendered":"https:\/\/blogs.mathworks.com\/simulink\/?p=19032"},"modified":"2026-12-03T16:06:35","modified_gmt":"2026-12-03T21:06:35","slug":"authoring-autosar-classic-software-components-with-the-simulink-agentic-toolkit","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/simulink\/2026\/12\/03\/authoring-autosar-classic-software-components-with-the-simulink-agentic-toolkit\/","title":{"rendered":"Authoring AUTOSAR Classic software components with the Simulink Agentic Toolkit"},"content":{"rendered":"<div class = rtcContent><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><a href = \"https:\/\/matlab.mathworks.com\/open\/github\/v1?repo=simulink\/blog&amp;file=2026_12_02_autosar_Skill\/matlab.toml\"><img class = \"imageNode\" src = \"https:\/\/blogs.mathworks.com\/simulink\/files\/AUTOSAR_SATK_Skill.m-12-03-26_1.png\" width = \"136\" height = \"21\" alt = \"\" style = \"vertical-align: baseline; width: 136px; height: 21px;\"><\/img><\/a><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\" style=' font-style: italic;'>Today I am happy to welcome guest blogger No\u00e9 Barthes to introduce a new skill recently added to the Simulink Agentic Toolkit.<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"https:\/\/blogs.mathworks.com\/simulink\/files\/AUTOSAR_SATK_Skill.m-12-03-26_2.png\" width = \"144\" height = \"144\" alt = \"\" style = \"vertical-align: baseline; width: 144px; height: 144px;\"><\/img><\/div><h2  style = 'margin: 10px 10px 5px 26px; padding: 0px; line-height: 25px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span class=\"_richTextNode\">Introduction<\/span><\/h2><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">As an Advanced Support Engineer at MathWorks, I spend most of my time helping customers work through AUTOSAR modeling challenges. That experience led me to explore a simple question:<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\" style=' font-style: italic;'>Could AI make AUTOSAR software component authoring feel more natural and intuitive?<\/span><span class=\"_richTextNode\"> <\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">The answer is: Yes!<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">To make that happen, I created a skill that has been added to the Simulink Agentic Toolkit in release v2026.09.d.<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">In this blog post I use this skill to demonstrate how it can start with an <\/span><a href = \"https:\/\/www.mathworks.com\/help\/autosar\/ug\/autosar-arxml-importer-tool.html\"><span class=\"_richTextNode\">AUTOSAR ARXML description<\/span><\/a><span class=\"_richTextNode\"> and functional requirements, and produce Simulink models that generate compliant AUTOSAR code.<\/span><\/div><h2  style = 'margin: 10px 10px 5px 26px; padding: 0px; line-height: 25px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span class=\"_richTextNode\">Set up Simulink Agentic Toolkit <\/span><\/h2><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">If your installation of the Simulink Agentic Toolkit is a bit outdated, make sure to update it, you can find instructions <\/span><a href = \"https:\/\/github.com\/matlab\/simulink-agentic-toolkit\/blob\/main\/README.md#update-simulink-agentic-toolkit\"><span class=\"_richTextNode\">here<\/span><\/a><span class=\"_richTextNode\">. When running the installer, make sure that the \"Code Generation\" group is selected. Once this is done, verify in your coding agent that the skill <\/span><a href = \"https:\/\/github.com\/matlab\/simulink-agentic-toolkit\/tree\/main\/skills-catalog\/code-generation\/simulink-author-classic-autosar-swc\"><span class=\"_richTextNode\" style=' font-family: monospace;'>simulink-author-classic-autosar-swc<\/span><\/a><span class=\"_richTextNode\"> is enabled. Here is what this looks like for me in Codex:<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"https:\/\/blogs.mathworks.com\/simulink\/files\/AUTOSAR_SATK_Skill.m-12-03-26_3.png\" width = \"815\" height = \"230\" alt = \"\" style = \"vertical-align: baseline; width: 815px; height: 230px;\"><\/img><\/div><h2  style = 'margin: 10px 10px 5px 26px; padding: 0px; line-height: 25px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span class=\"_richTextNode\">Starting from ARXML  <\/span><\/h2><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">For this example, I start with an ARXML file that defines the component\u2019s ports, interfaces, data types, runnables, and events. The <\/span><a href = \"https:\/\/www.mathworks.com\/products\/autosar.html\"><span class=\"_richTextNode\">AUTOSAR Blockset<\/span><\/a><span class=\"_richTextNode\"> lets me use <\/span><a href = \"https:\/\/www.mathworks.com\/help\/autosar\/ref\/arxml.importer.html\"><span class=\"_richTextNode\">arxml.importer<\/span><\/a><span class=\"_richTextNode\"> and its <\/span><span class=\"_richTextNode\" style=' font-family: monospace;'>createComponentAsModel<\/span><span class=\"_richTextNode\"> method to create a skeleton Simulink model.<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">However, in today's world, an AI agent with the right skills can make your life much easier. Instead of researching and invoking those APIs manually, I can simply ask my agent:<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\" style=' font-family: monospace;'>&gt; Create<\/span><span class=\"_richTextNode\"> <\/span><span class=\"_richTextNode\" style=' font-family: monospace;'>a Simulink model from<\/span><span class=\"_richTextNode\"> <\/span><span class=\"_richTextNode\" style=' font-family: monospace;'>CentralDoorLocking_SWC.arxml<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">The Simulink Agentic Toolkit connects the agent to Simulink via the MATLAB MCP server, and the <\/span><span class=\"_richTextNode\" style=' font-family: monospace;'>simulink-author-classic-autosar-swc<\/span><span class=\"_richTextNode\"> skill guides the agent to use the appropriate APIs and best practices for authoring an AUTOSAR Classic software component.<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">After a simple prompt like the one above, the agent creates the following skeleton model:<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"https:\/\/blogs.mathworks.com\/simulink\/files\/AUTOSAR_SATK_Skill.m-12-03-26_4.png\" width = \"992\" height = \"473\" alt = \"\" style = \"vertical-align: baseline; width: 992px; height: 473px;\"><\/img><\/div><h2  style = 'margin: 10px 10px 5px 26px; padding: 0px; line-height: 25px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span class=\"_richTextNode\">Adding an algorithm<\/span><\/h2><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">Now that we have a skeleton model, it's time to look into implementing the actual algorithm. As usual, we can start with a set of requirements:<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"https:\/\/blogs.mathworks.com\/simulink\/files\/AUTOSAR_SATK_Skill.m-12-03-26_5.png\" width = \"782\" height = \"349\" alt = \"\" style = \"vertical-align: baseline; width: 782px; height: 349px;\"><\/img><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">I asked:<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\" style=' font-family: monospace;'>&gt; Look at Door_Lock_System_Requirements.md and propose a plan to implement those requirements in CentralDoorLocking_SWC.slx<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">The coding agent leveraged the agentic toolkit <\/span><a href = \"https:\/\/github.com\/matlab\/simulink-agentic-toolkit\/tree\/main\/skills-catalog\/model-based-design-core\/specifying-mbd-algorithms\"><span class=\"_richTextNode\">Model-Based Design specification skill<\/span><\/a><span class=\"_richTextNode\"> and got to work.<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"https:\/\/blogs.mathworks.com\/simulink\/files\/AUTOSAR_SATK_Skill.m-12-03-26_6.png\" width = \"843\" height = \"310\" alt = \"\" style = \"vertical-align: baseline; width: 843px; height: 310px;\"><\/img><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">It quickly produced the requested plan that I could review and iterate on before starting the implementation.<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"https:\/\/blogs.mathworks.com\/simulink\/files\/AUTOSAR_SATK_Skill.m-12-03-26_7.png\" width = \"383\" height = \"168\" alt = \"\" style = \"vertical-align: baseline; width: 383px; height: 168px;\"><\/img><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">After I approved the plan, the agent implemented the door-locking algorithm.<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"https:\/\/blogs.mathworks.com\/simulink\/files\/AUTOSAR_SATK_Skill.m-12-03-26_8.png\" width = \"917\" height = \"494\" alt = \"\" style = \"vertical-align: baseline; width: 917px; height: 494px;\"><\/img><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">To validate that the algorithm meets the requirements, the agent generated a test harness and a MATLAB test class that tests 19 scenarios.<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"https:\/\/blogs.mathworks.com\/simulink\/files\/AUTOSAR_SATK_Skill.m-12-03-26_9.png\" width = \"484\" height = \"372\" alt = \"\" style = \"vertical-align: baseline; width: 484px; height: 372px;\"><\/img><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">After running the tests, the agent even generated a validation report:<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"https:\/\/blogs.mathworks.com\/simulink\/files\/AUTOSAR_SATK_Skill.m-12-03-26_10.png\" width = \"671\" height = \"483\" alt = \"\" style = \"vertical-align: baseline; width: 671px; height: 483px;\"><\/img><\/div><h2  style = 'margin: 10px 10px 5px 26px; padding: 0px; line-height: 25px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span class=\"_richTextNode\">Model refinement<\/span><\/h2><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">The agent has given me a good starting point, but a first draft is rarely the final implementation. Let's ask something new:<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\" style=' font-style: italic; font-family: monospace;'>&gt; Make the key-fob distance configurable. I want to be able to parameterize the distance for the key fob to get triggered. I want a shared parameter for that instead of a constant.<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">Thanks to the skill, the agent knows immediately what to do:<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"https:\/\/blogs.mathworks.com\/simulink\/files\/AUTOSAR_SATK_Skill.m-12-03-26_11.png\" width = \"863\" height = \"145\" alt = \"\" style = \"vertical-align: baseline; width: 863px; height: 145px;\"><\/img><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">I can confirm that the distance threshold is now a <\/span><span class=\"_richTextNode\" style=' font-family: monospace;'>Simulink.Parameter<\/span><span class=\"_richTextNode\"> in the model workspace.<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"https:\/\/blogs.mathworks.com\/simulink\/files\/AUTOSAR_SATK_Skill.m-12-03-26_12.png\" width = \"719\" height = \"310\" alt = \"\" style = \"vertical-align: baseline; width: 719px; height: 310px;\"><\/img><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">It is mapped to AUTOSAR <\/span><span class=\"_richTextNode\" style=' font-family: monospace;'>SharedParameter<\/span><span class=\"_richTextNode\"> in the Code Mappings editor.<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"https:\/\/blogs.mathworks.com\/simulink\/files\/AUTOSAR_SATK_Skill.m-12-03-26_13.png\" width = \"647\" height = \"217\" alt = \"\" style = \"vertical-align: baseline; width: 647px; height: 217px;\"><\/img><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">The agent also added two new tests to our test suite to validate this new feature.<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">Once I'm happy with the model, I can call <\/span><a href = \"https:\/\/www.mathworks.com\/help\/simulink\/slref\/slbuild.html\"><span class=\"_richTextNode\" style=' font-family: monospace;'>slbuild<\/span><\/a><span class=\"_richTextNode\"> and get AUTOSAR compliant code:<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"https:\/\/blogs.mathworks.com\/simulink\/files\/AUTOSAR_SATK_Skill.m-12-03-26_14.png\" width = \"877\" height = \"431\" alt = \"\" style = \"vertical-align: baseline; width: 877px; height: 431px;\"><\/img><\/div><h2  style = 'margin: 10px 10px 5px 26px; padding: 0px; line-height: 25px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span class=\"_richTextNode\">What's next?<\/span><\/h2><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">I could keep asking more. For this example project, here are two requests I could make:<\/span><\/div><ul  style = 'margin: 10px 0px 20px; padding-left: 0px; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-size: 14px; '><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><span class=\"_richTextNode\">Preserve the door-lock state when the ECU is turned off. Implement using a Non Volatile Memory using initialize and terminate function.<\/span><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><span class=\"_richTextNode\">Create software address methods for the two runnables: <\/span><span class=\"_richTextNode\" style=' font-family: monospace;'>CODE_TRIGGERED<\/span><span class=\"_richTextNode\"> for the triggered runnable and <\/span><span class=\"_richTextNode\" style=' font-family: monospace;'>CODE_SLOW<\/span><span class=\"_richTextNode\"> for the periodic runnable. <\/span><\/li><\/ul><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">The skill guides the agent toward appropriate AUTOSAR APIs and blocks. I can then review the proposed changes and validate the resulting model.<\/span><\/div><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">The agent knows how AUTOSAR vocabulary corresponds to Simulink implementation and will help you pick up the right choice directly from your requirements. <\/span><\/div><h2  style = 'margin: 10px 10px 5px 26px; padding: 0px; line-height: 25px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span class=\"_richTextNode\">Now it\u2019s your turn<\/span><\/h2><div  style = 'margin: 2px 10px 9px 26px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span class=\"_richTextNode\">Try Simulink Agentic Toolkit with one of your own AUTOSAR projects and see what you can build.<\/span><\/div>\r\n<br>\r\n<\/div><script type=\"text\/javascript\">\r\n{ let css = '._richTextNode {white-space: break-spaces;}';\r\nlet head = document.head || document.getElementsByTagName('head')[0];\r\nlet style = document.createElement('style');\r\nhead.appendChild(style);\r\nstyle.type = 'text\/css';\r\nif (style.styleSheet) {\r\n    style.styleSheet.cssText = css;\r\n} else {\r\n    style.appendChild(document.createTextNode(css));\r\n}\r\n\r\n\r\n}<\/script>","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img src=\"https:\/\/blogs.mathworks.com\/simulink\/files\/AUTOSAR_SATK_Skill.m-12-03-26_4.png\" class=\"img-responsive attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"\" decoding=\"async\" loading=\"lazy\" \/><\/div><p>Today I am happy to welcome guest blogger No\u00e9 Barthes to introduce a new skill recently added to the Simulink Agentic Toolkit.IntroductionAs an Advanced Support Engineer at MathWorks, I spend most of... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/simulink\/2026\/12\/03\/authoring-autosar-classic-software-components-with-the-simulink-agentic-toolkit\/\">read more >><\/a><\/p>","protected":false},"author":41,"featured_media":19025,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[700,609,21,65],"tags":[707,587],"class_list":["post-19032","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-coding-assistant","category-autosar","category-code-generation","category-guest-blogger","tag-ai-coding-agent","tag-autosar"],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts\/19032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/comments?post=19032"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts\/19032\/revisions"}],"predecessor-version":[{"id":19033,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts\/19032\/revisions\/19033"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/media\/19025"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/media?parent=19032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/categories?post=19032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/tags?post=19032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}