How can i use scatter plot in simulink?

조회 수: 30 (최근 30일)
stuti chug
stuti chug 2019년 8월 2일
답변: Jyotsna Talluri 2019년 8월 7일
Hello, I'm trying to plot color on image in simulink. so for ploting, i m using scatter function but it shows error ("The function 'scatter' is not supported for standalone code generation. See the documentation for coder.extrinsic to learn how you can use this function in simulation.").
please tell me 1) how can i plot color on image in simulink? 2) how can i use scatter in simulink ?
  댓글 수: 3
stuti chug
stuti chug 2019년 8월 7일
No, i'm trying to use scatter fuction in simulink but simulink doesn't support scatter. so what fuction can i use in simulink that fulfil scatter properties.
Jyotsna Talluri
Jyotsna Talluri 2019년 8월 7일
Where are u using that SCATTER function in simulink?Could u share your model or code if possible

댓글을 달려면 로그인하십시오.

답변 (1개)

Jyotsna Talluri
Jyotsna Talluri 2019년 8월 7일
Hi,
The scatter function is not supported in simulink. If you want a scatter like plot you can change the settings in the style under view of the scope window.There you can change the colour of the plot too...Another alternative could be export the data to MATLAB using To workspace block from simulink library browser and then you can use the scatter in MATLAB

카테고리

Help CenterFile Exchange에서 Scatter Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by