Why I am not able to open openExample('simscapefluids/ElectricVehicleThermalManagementExample') ?
Show older comments
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)
Walter Roberson
on 24 Apr 2024
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
Ravindra
on 6 Oct 2025
Edited: Walter Roberson
on 6 Oct 2025
>> 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
Ravindra
on 6 Oct 2025
Edited: Walter Roberson
on 6 Oct 2025
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
Ravindra
on 6 Oct 2025
Does the MATLAB version update is the last option
?
Walter Roberson
on 6 Oct 2025
Which version of MATLAB are you using?
Ravindra
on 12 Oct 2025
@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?
Walter Roberson
on 12 Oct 2025
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!