get_model_interface​(modelname)

Versione 1.1.0.0 (21,2 KB) da dbmn
Get Interface and Parameters of a Model or Subsystem
46 download
Aggiornato 2 mag 2016

Visualizza la licenza

This function helps to identify all parameters and interfaces (in-/outputs) to a Simulink or Stateflow model. It can also be used on Subsystems in a specific model.
I wrote this function because the Matlab Built-In Simulink.MDLInfo did not provide me with all the info I needed.
Furthermore the simple documentation of the parameters used by a certain subsystem is a nice way of extracting a subset of your workspace when sharing part of your model with a colleague.
How to use:
[Parameter, Input, Output, Input_WorkSpace, Output_WorkSpace, Input_FromFile, Output_ToFile] = get_model_interface(modelname)
modelname: either the name of the model or a specific subsystem
(see the following lines how to setup correctly)
model: modelname = 'mymodel'
subsystem: modelname = 'mymodel/mysubsystem'

Cita come

dbmn (2026). get_model_interface(modelname) (https://it.mathworks.com/matlabcentral/fileexchange/56864-get_model_interface-modelname), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2015b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Modeling in Help Center e MATLAB Answers
Versione Pubblicato Note della release
1.1.0.0

Now with preview image.

1.0.0.0