Clear Filters
Clear Filters

How to resolve this problem :Error using builtin Cannot find builtin function 'handle', it is related to the line of my plot in the code?

12 views (last 30 days)
This is the code;
clear ;
close all;
clc;
[ishneHeader, ecgSig]=read_ishne(fileName, startOffset, length);
figure;
plot(ecgSig (:,1));
when I press run , I get in the comand window for the line of the plot: Error using builtin
Cannot find builtin function 'handle' . In fact the figure appears empty. CAN someone help me resolve this problem?

Answers (1)

VINAYAK LUHA
VINAYAK LUHA on 28 Nov 2023
Hi Meri,
I understand that you are facing the error -"Error using builtin: Cannot find builtin function 'handle'", while plotting using the plot function. This error could be due to an issue with the graphics system or the handle graphics functionality in MATLAB.
To resolve this problem, you can try the following steps:
  1. Restarting MATLAB can help resolve temporary issues related to the graphics system. Close MATLAB, then reopen it and try running the code again to see if the problem persists.
  2. Verify that the MATLAB path is correctly set to include all the necessary folders and directories. This ensures that MATLAB can find all the required functions and built-in components.
Hope this solves your query.
Regards,
Vinayak Luha

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!