App designer creates a new function inside another function where a parfor loop exists

3 visualizaciones (últimos 30 días)
As the title suggests, it is created in an existing function with a parfor loop when creating a new function in App Designer. Commenting out the parfor loop creates the new function as normal.
  6 comentarios
구구
구구 el 12 de Sept. de 2024
Yep. I can create a new function manually but there's a button to create new function.
Epsilon
Epsilon el 12 de Sept. de 2024
Editada: Epsilon el 12 de Sept. de 2024
Yes I meant after you press that button, it also has a dropdown to add private function and public function. And didn't realize Matt had already replicated it and replied above. So yes it is a bug!

Iniciar sesión para comentar.

Respuesta aceptada

Angelo Yeo
Angelo Yeo el 12 de Sept. de 2024
@구구, thank you for reporting this.
@Matt J, thank you for the reproduction steps. I was able to reproduce the issue in R2024b.
I have internally reported the issue. However, please note that the official route to report a bug is to reach out to MW Technical Support.
Thanks!

Más respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by