find-system command

5 visualizaciones (últimos 30 días)
zineb boukili
zineb boukili el 4 de Abr. de 2018
Respondida: stozaki el 12 de En. de 2020
Hi everyone hope you're doing well so i ask if you can help me , i'm working in IHM and i have a system that contains a lot of blocs and subblocs and i want to extract all of constans how can i do ?! i tried find-system(bdroot,'SearchDepth','10','Type',Inport') but it doesn't work !!!
  6 comentarios
Pedro Piñon
Pedro Piñon el 28 de Oct. de 2018
good afternoon, i have a problem similar with "find system", i made a GUI in matlab and the GUI use a simulink model, the problem starts when i make the App with the "aplication compiler" in matlab, when i want to do a testing, an error appears, can you help me? thanks.
Walter Roberson
Walter Roberson el 29 de Oct. de 2018
There is no Simulink in the environment where the App is executing.

Iniciar sesión para comentar.

Respuestas (1)

stozaki
stozaki el 12 de En. de 2020
Hello zineb,
Your command has two mistakes.
1. find-system : find_system
2. 'Type' : 'BlockType'
Please try following script.
find_system(bdroot,'SearchDepth','10','BlockType','Inport') %: you want to get Inport block
find_system(bdroot,'FindAll','on','SearchDepth','10','type','port') % you want to get porthandle
Regards,
stozaki

Categorías

Más información sobre Event Functions en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by