bugTFTB -- the Time-Frequency Toolbox - Bugs: bug #65177, plotsid.m uses non-existing...

 
 

bug #65177: plotsid.m uses non-existing function midscomp that needs to be replaced with middpoint

Submitter:  Sandi Baressi Segota <sabase>
Submitted:  Wed 17 Jan 2024 03:59:27 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 18 Jan 2024 02:30:49 AM UTC, comment #1: 

The bug mutates with Java on or off.

Anonymous
Wed 17 Jan 2024 03:59:27 PM UTC, original submission:  

MATLAB version: R2021b
TFTB version: 0.2

When using plotsid.m, user gets an error stating that midscomp.m function does not exist.

Replacing the midscomp call within plotsid.m with midpoint (given as midpoint.m) in lines 67 and 84 fixes the issue.

I am attaching the modified plotsid.m and the diff patch, obtained with:


diff -c plotsid.m.orig plotsid.m > patch


But please keep in mind that manual modification, as described previously, is simple as it's only two lines of code.

After replacing the midscomp calls with midpoint the function  works as intended.

Kind regards.

Sandi Baressi Segota <sabase>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #55584:  plotsid.m added by sabase (3KiB - application/octet-stream)
file #55585:  patch added by sabase (1KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by sabase (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-01-17 sabase Attached File- Added plotsid.m, #55584
        Attached File- Added patch, #55585

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code