3D plot in Simulink
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello, I have three XY graphs in Simulink. Still couldn't plot all three together. Please, if you have any idea.
Also, I have z parameter, but I see there is no 3D plotting block in Simulink, any solution for this?
Lastly, from Matlab program I have a set of values. In Simulink block I have to use one parameter of the set at each time run. I was trying to use Matlab Function block, but still no result.
Thanks in advance!
0 comentarios
Respuestas (1)
Walter Roberson
el 28 de Sept. de 2022
XY Graphs are specifically documented to open a different window for each block, and only permit scalar X and scalar Y. But you can see the File Exchange https://www.mathworks.com/matlabcentral/fileexchange/75379-multiple-xy-graph?s_tid=srchtitle_xygraph_4
If you do not need rapid acceleration, then you can use MATLAB Function Block and coder.extrinsic() the names of the graphics routines.
For setting a block parameter from MATLAB you can set_param(). But see https://www.mathworks.com/matlabcentral/answers/1653710-global-variable-in-simulink#comment_2009495 for how to create global variables that Simulink can use.
0 comentarios
Ver también
Categorías
Más información sobre Interactive Model Editing 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!