- Create a subsystem.
 - open a new lib file
 - drag your subsystem to your lib file and save this lib file
 
creating your own block into simulink library
    7 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
hello, my question is about to create your own block into central library of simulink from a model that I have done. In my model I have used some block of simulink-library(e.g integrator, sum and 3 gain elements) and now I want to create this model as a block element in the library of simulink in another word I want to extract it with its e.g. five variable parameters, 2 inputs and one output as a usable block from library. the reason why I need such a thing is I have used this block so many times in my simulink model and now I want to use it from library to manege a case that I can change all parameters of model by a vector or as a function of time during simulation, for any suggestion thanks in advance
0 comentarios
Respuesta aceptada
  Azzi Abdelmalek
      
      
 el 26 de Ag. de 2013
        2 comentarios
  Azzi Abdelmalek
      
      
 el 26 de Ag. de 2013
				A library file is a special mdl file. Look at this link
Más respuestas (0)
Ver también
Categorías
				Más información sobre Subsystems en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!