make function without input.
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I want to make function without input.
Because, the variables which are needed as inputs for the function are so many and already in workspace.
The variables come from simulink by using 'To workspace'
So, i wonder how to use function with variables that are in workspace without function input.
3 comentarios
Respuestas (1)
cui,xingxing
el 9 de Abr. de 2024
Editada: cui,xingxing
el 27 de Abr. de 2024
Hi,@진회
In fact, you don't need to do 2-statge passing in and out of multiple variables for your model output in simulink, you can just do it in one step, i.e., use the Matlab Function block directly in simulink to handle your subsequent tasks.
-------------------------Off-topic interlude, 2024-------------------------------
I am currently looking for a job in the field of CV algorithm development, based in Shenzhen, Guangdong, China. I would be very grateful if anyone is willing to offer me a job or make a recommendation. My preliminary resume can be found at: https://cuixing158.github.io/about/ . Thank you!
Email: cuixingxing150@gmail.com
Ver también
Categorías
Más información sobre Startup and Shutdown 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!