I want to get a list of all the base workspace variables of a certain type that are referenced in a model. I have tried using "Simulink.findVars", but there is not option to specify the data type or class. How can I get a list of only Simulink.Parameter objects that are referenced by my model?
MATLAB: How to find all the base workspace variables of a certain type that are referenced in a model
simulink
Related Question
- Importing legacy models from created with MIT Toolbox
- How to programmatically call “exampleModel(…,’compile’)” using a variable for the model name
- Input and output signals not visible in scope when simulating in external mode with Arduino Due
- How to create variables / properties for an object of same type, as of the object’s class in MATLAB
- Can’t I overwrite the ‘disp’ method of a Simulink class
- To Workspace block not returning results when simulating using SimulationInput objects
- Do I get the error “Unsupported custom storage class ‘Default’ for symbolic dimension”
- Is it possible for a Simulink block to access variables loaded from a MAT-file in the local workspace of a function
Best Answer