Simulink.Bus bug when creating class RadarObject
Afficher commentaires plus anciens
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 commentaires
Hari Krishna Ravuri
le 2 Août 2019
Hi,
I'm unable to reproduce the above said behaviour.Can you please provide the Reproduction procedure?
Matthias Hoyer
le 6 Août 2019
Réponses (0)
Catégories
En savoir plus sur Event Functions dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!