Is there a way to extract a list from "PV Array.ModuleName.Enum" to view the solar module data more efficiently?
Show older comments
I am curretly searching for a method to extract the solar module list and paramaters in the PV Array block. I have been successful in finding the data, but I can't seem to find the correct syntaxt to add the "Enum" data type into my workspace to export to excel. Please find my attached images: "Code"- What I was trying to write to store the data in my workspace, "Location" - Image of the data I want to extract.
Here is an image of the "PV Array Field" I'm trying to review more effiecntly.

Thank you.
Answers (1)
Fangjun Jiang
on 10 Feb 2025
Edited: Fangjun Jiang
on 10 Feb 2025
0 votes
Should be BlockDialogParameters.ModuleName.Enum or getfield(BlockDialogParameters.ModuleName,'Enum')
Categories
Find more on Interactive Model Editing 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!