Answered step by step
Verified Expert Solution
Question
1 Approved Answer
MEF Currioulum FlnwohartMake the MATLAB code work to achieve the following functions: Assume that you are trying to build an operation interface which allows the
MEF Currioulum FlnwohartMake the MATLAB code work to achieve the following functions:
Assume that you are trying to build an operation interface which allows the mechanical engineering students in UNT
to register for of the MEEN level classes which are highlighted in blue as shown in MEE
curriculum flowchart
In order to register for a MEEN class, students need to meet all the prerequisites as well as corequisites. Once heshe
fulfilled all the conditions for a certain class, that class can be registered successfully. Otherwise the system will object
his request and give that student a reminder why heshe could not register for that class.
This is the script i have written but I keep getting this error message:
function registrationStatus registerForMEENClassesstudentInfo
meenClasses MEEN 'MEEN 'MEEN 'MEEN 'MEEN 'MEEN 'MEEN 'MEEN 'MEEN;
prerequisites MEENMEEN 'MEENMEENMEENMEEN 'MEENMEENMEENMEEN;
corequisites MEENMEENMEEN;
registrationStatus containers.MapmeenClasses cellsizemeenClasses;
for i :lengthmeenClasses
currentClass meenClassesi;
currentPrerequisites prerequisitesi;
currentCorequisites corequisitesi;
Check if all prerequisites are met
if allismembercurrentPrerequisites studentInfo.completedCourses
Check if all corequisites are met
if allismembercurrentCorequisites studentInfo.completedCourses
registrationStatuscurrentClass 'Successfully Registered';
else
registrationStatuscurrentClass 'Corequisite not met';
end
else
registrationStatuscurrentClass 'Prerequisite not met';
end
end
dispRegistration Status:;
dispregistrationStatus;
end
registerForMEENClasses
Not enough input arguments.
Error in registerForMEENClasses line
if allismembercurrentPrerequisites studentInfo.completedCourses
Plz write a script that works.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started