Is it possible to pre load (thanks to Callbacks) a .mlx doc in a Simulink model, to initialize parameters in the model ?
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
The goal is to use mlx code instead of classical matlab file only to have a better interface for the user of the model. I tried in the Callbacks to preload or post load the mlx doc but it does not seem to work...
0 comentarios
Respuestas (1)
Ayush
el 1 de Jun. de 2023
example:run("example.mlx")
But here we can check the Limitations of run so it is not advised hence either you can use ".m" file or copy the code directly in the function.
1 comentario
Walter Roberson
el 1 de Jun. de 2023
mlx files can be invoked by name without the extension without using run()
Ver también
Categorías
Más información sobre MATLAB Compiler 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!