Infineon Buck Simscape Example - View_syste​m('BuckSys​tem') unrecognized function or variable 'view system" error

I've tried running the "Infineon Buck Simscape Example" both online and locally and get the following error
View_system('BuckSystem') unrecognized function or variable 'view system"
I'm running R2023b

Antworten (1)

Hi @Larry,
I understand that you are trying to run the "Infineon Buck Simscape Example" from the following link.
To access this example,
  1. Please download all the files in the above link.
  2. After extracting the contents, navigate to the folder with all the models and the "view_system.m" file.
  3. Once you are in this directory, running the following command will work as expected.
view_system('BuckSystem')
I hope this helps!

3 Kommentare

Followed you directions, downloaded and extracted the example into a folder. Made sure that in Matlab that I was in that folder (see attached). Typed in the command window view_system('BuckSystem'), Simulink opened up with the example with multiple components in red which I assume are errors. Try to run the example I get a message that some of the issues encountered may be because the model was created in a previous release (see attached document). I get so many errors in the diagnostic Viewer there are to many to list but have put some of them in the attached document. Relatively new to Matlab and Simulink/Simscape. My Matlab version is R2023b.
Hi @Larry,
The red boxes you see around the blocks are because the values with which they are initialized are not present in the workspace. Please run the "buckConverter.mlx" present in the same path, which will open the model and initialize the blocks with necessary values which will resolve the error.
The message which you encounter "some of the issues encountered may be because the model was created in a previous release" is because the model is created in an earlier version than the version you are using. Please upgrade the model using the "Upgrade Advisor" by following the steps mentioned in the below link.
Gayathri,
Thanks for the assistance, running buckConvert.mlx took care of the issues. Infineon Buck Convert example now working properly.

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 1 Mai 2025

Kommentiert:

am 7 Mai 2025

Community Treasure Hunt

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

Start Hunting!

Translated by