Why I am not able to open openExampl​e('simscap​efluids/El​ectricVehi​cleThermal​Management​Example') ?

Getting error
openExample('simscapefluids/ElectricVehicleThermalManagementExample')
Error using matlab.internal.examples.componentExamplesDir (line 16)
Invalid argument "simscapefluids".
Error in findExample (line 11)
componentExamplesDir = matlab.internal.examples.componentExamplesDir(component);
Error in openExample (line 30)
metadata = findExample(exampleId);

Answers (1)

If you are using an older version of MATLAB, you might need to use
sscfluids_ev_thermal_management
The example was renamed in R2023b.

6 Comments

>> openExample('simscapefluids/sscfluids_ev_thermal_management')
Error using matlab.internal.examples.componentExamplesDir
Invalid argument "simscapefluids".
Error in findExample (line 11)
componentExamplesDir = matlab.internal.examples.componentExamplesDir(component);
Error in setupExample (line 6)
metadata = findExample(arg);
Error in openExample (line 30)
[workDir,metadata] = setupExample(exampleId, workDir);
Still getting the error message only
Also when I am trying to open the other model
>> openExample('sscfluids/ElectricVehicleThermalManagementWithHeatPumpExample')
Error using matlab.internal.examples.componentExamplesDir
Invalid argument "sscfluids".
Getting the same error again
Does the MATLAB version update is the last option
?
@Walter Roberson I am having the MATLAB R2022b version installed in my machine
Any different command to be tried out in odler versions or how?

Sign in to comment.

Categories

Tags

Asked:

on 24 Apr 2024

Commented:

on 12 Oct 2025

Community Treasure Hunt

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

Start Hunting!