Code Capture for SimBiology Model Created in MATLAB 2021a

Elham on 14 Jun 2023
Latest activity Reply by Elham on 16 Jun 2023

I am currently facing a compatibility issue when attempting to load a SimBiology model created in MATLAB 2021a into MATLAB 2023a. Specifically, the code capture functionality does not seem to be working.
If anyone has encountered a similar situation or has insights on how to capture the code for a SimBiology model created in an older version of MATLAB, I would greatly appreciate your guidance. Are there any alternative methods or specific steps that can be followed to ensure successful code capture?
Thank you in advance for your time and expertise.
Fulden Buyukozturk
Fulden Buyukozturk on 14 Jun 2023
Hi,
Could you give more details on the issue? Does it display any code when you change the model in Model Builder?
Just to clarify / confirm, code capture in Model Builder can generate MATLAB code of various modeling actions that you perform in the app during *that session* of SimBiology. It's not a tool that generates code for a model that's already built and opened in the app.
Fulden
Elham
Elham on 16 Jun 2023
Thank you very much for your answer. Since the "code capture" tool is not available in the Simbiology version MATLAB 2021a, I thought that if I open the model in another version, it might still be possible to get the code :p