How inport 1 is computed in the model Brayton cycle
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Dongsuk Kim
le 3 Nov 2022
Réponse apportée : Vignesh Murugavel
le 7 Nov 2022
Hello I am studying Brayton cycle model Brayton Cycle (Gas Turbine) with Custom Components - MATLAB & Simulink (mathworks.com) and it is hard to comprehend where the inport 1 gets the signal. It seems like it is not connected to anything so it makes me perplex. Could you tell me what it is like?
0 commentaires
Réponse acceptée
Vignesh Murugavel
le 7 Nov 2022
The inport 1 gets the Value from ts_N , defined in the Workspace as a double timeseries Variable.
In the Configuration Parameters which can be accessed by pressing CTRL +E , go to Data Import/Export Category.
The Data Import/Export category includes parameters for configuring input data for simulation (for example, for Inport blocks) and output data (for example, from Outport blocks). The parameters allow you to import input signal and initial state data from a workspace and export output signal and state data to the MATLAB workspace during simulation.
In the Data Import/Export section you can observe that 3 Variables are loaded as inputs to the Model from the Workspace, this is where the inport 1 gets its signal value (ts_N) from.
The Value of ts_N Variable is defined in PreLoadFcn Callback Function which can be viewed and edited by going to the Modeling tab, then clicking Model Settings > Model Properties > PreLoadFcn.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Troubleshooting dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!