Simulink.Bus bug when creating class RadarObject
Show older comments
Hello together,
I encountered weird Matlab behavior when I created a class called "RadarObject". I had a weird bug some days ago I could not explain or reproduce, but now I saw when I type
help RadarObject
or
doc RadarObject
I get forwarded to the help/doc page of Simulink.Bus class: https://de.mathworks.com/help/simulink/slref/simulink.bus-class.html
It already happens with a default class:
classdef RadarObject
%RADAROBJECT Summary of this class goes here
% Detailed explanation goes here
properties
Property1
end
methods
function obj = RadarObject(inputArg1,inputArg2)
%RADAROBJECT Construct an instance of this class
% Detailed explanation goes here
obj.Property1 = inputArg1 + inputArg2;
end
function outputArg = method1(obj,inputArg)
%METHOD1 Summary of this method goes here
% Detailed explanation goes here
outputArg = obj.Property1 + inputArg;
end
end
end
If I rename the class to "RadarObject2" I get forwarded to the right doc page of my class.
When I open a new Matlab session without adding anything from my code to the Matlab path and create a class "RadarObject" this bug does not occur, so it looks like it is somewhere deep in the code.
Is there anyone who has experienced such a bug and can give me a hint where I need to search?
Thank you guys and best regards!
2 Comments
Hari Krishna Ravuri
on 2 Aug 2019
Hi,
I'm unable to reproduce the above said behaviour.Can you please provide the Reproduction procedure?
Matthias Hoyer
on 6 Aug 2019
Answers (0)
Categories
Find more on Event Functions 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!