Index Exceeds Matrix dimension error when masking subsystem

조회 수: 2 (최근 30일)
Jill
Jill 2012년 1월 24일
Hello,
I have a subsystem where I use the CAN Transmit block in the Vehicle Network Toolkit. If I mask the subsystem, I get the error "Unable to query hardware information for the selected CAN channel object. Index exceeds matrix dimensions". If I leave it unmasked, it works fine. I need to use this subsystem multiple times and I would like to mask it so I can make it a library component and adjust the parameters. Does anyone know why CAN transmit doesn't work while masked?
Any help would be greatly appreciated.

채택된 답변

Shankar Subramanian
Shankar Subramanian 2012년 1월 25일
Hi Jill,
Yes, it is a bug and has been reported. Can you contact MathWorks technical support and we will be able to give you a workaround for your current release. What version are you running?
Thanks
Shankar
  댓글 수: 3
Jill
Jill 2012년 1월 30일
Do I need to contact someone specifically or just mathworks in general?
Shankar Subramanian
Shankar Subramanian 2012년 1월 31일
You need to call MathWorks Technical Support Team: http://www.mathworks.com/support/contact_us/

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Jill
Jill 2012년 2월 17일
I believe the xPC CAN transmit block has the same problem. It results in a different error, "undefined function or variable" when you try to use the variable name from the mask in a CAN transmit block (I am using the CAN-AC2-PCI from the CAN softing library). Can someone please verify this for me.
Also, just FYI, MathWorks does not have a work around for this. I worked with them on this and the final outcome was it would be put in an "enhancement request" for future releases.

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by