Clear Filters
Clear Filters

Errors when I'm entering a section in System Composer Onramp

18 views (last 30 days)
In the section "Connect to Simulink > Simulate and Test (System level Simulation)", the Tasks do not load properly. There are several errors in the console, several of the blocks are red, the Submit button is gray, and the Assessment pane is empty.
I am stuck at 76% completion.
How can I avoid this error and progress through the course?
This is what I see in the command prompt:
Warning: Error executing PreClose callback "Studio7_SLOnramp" for block diagram "SystemComposerOnramp": Output argument "position" (and possibly others) not assigned a value in the execution with "learning.simulink.getTrainingStudioPosition" function.
Error using evalin Unrecognized function or variable 'quadcopterActivitySetup'.Error in learning.simulink.StudioMgr/runInitializationCode Error in learning.simulink.StudioMgr Error in learning.simulink.Application/setupStudioManager Error in learning.simulink.Application/setupSimulinkStudio Error in LearningApplication.setupSimulinkStudio Index exceeds the number of array elements. Index must not exceed 2.Error in learning.simulink.StudioMgr/setupTask Error in learning.simulink.Application/setupTask Error in LearningApplication.setupTask

Accepted Answer

Alisha Schor
Alisha Schor on 30 Apr 2024
Edited: Alisha Schor on 1 May 2024
Once you receive this error, you must restart MATLAB to complete the course. After restarting MATLAB, relaunch System Composer Onramp. Then you can skip to the appropriate section and proceed, but using the menu in the upper left of the training window (with the three bars).
You can avoid this error before you leave the Simulate and Test (Add Behavioral Models) section by navigating to the top-level architecture model before clicking Next Section. In other words, make sure that you are not currently viewing the CommunicationsBehavior or Payload reference models. The development team is aware of the issue.

More Answers (2)

Narasimha ATMURI
Narasimha ATMURI on 21 May 2024
In above snip I completed the task but I am not able to sbumit it. I tried several times but it's showing same thing.
can anyone help me on this?
  2 Comments
Josh Kahn
Josh Kahn on 31 May 2024
Hi @Narasimha ATMURI and @Venkata Praneeth Reddy, this issue has now been resolved in MATLAB Online and a fix will be available for desktop in R2024a Update 4.
Josh

Sign in to comment.


Arun
Arun on 17 Jun 2024
As Mr. Josh has told, the online version is running correctly and the course was able to be completed successfully.

Categories

Find more on System Composer in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!