MATLAB Answers

What is the ID of styecheck jc_0803 ??

2 views (last 30 days)
galaxy
galaxy on 23 Nov 2020
Commented: Fangjun Jiang on 24 Nov 2020
Dear bros !
I want to run stylecheck by script as following example.
checkID = 'mathworks.jmaab.jc_0653';
SysResultObjArray = ModelAdvisor.run(system, checkID);
But when I run jc_0803, I try to use ID: mathworks.jmaab.jc_0803, mathworks.maab.jc_0803, but it is not right ID.
My matlab version is 2019b.
Can anyone tell to me how to run jc_0803 ??

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 23 Nov 2020
  2 Comments
Fangjun Jiang
Fangjun Jiang on 24 Nov 2020
Indeed jmaab_jc_0803.p exists. It might be unfinished work.
I've written MA check myself. It can be authored by single or multiple files. It also needs to be registered.
Apparently, this check is not registered in R2019b. I don't think there is a way to use the .p file. You can't use ModelAdvisor.run() because it is not registered. The .m or .p file for any MA check is not meant to be called directly.

Sign in to comment.

More Answers (0)

Tags

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by