Community Profile

photo

James Marriott


10 total contributions since 2018

James Marriott's Badges

  • First Review
  • First Submission
  • Solver
  • Thankful Level 1

View details...

Contributions in
View by

Submitted


IO Tool Aligner Mk2
same as: https://uk.mathworks.com/matlabcentral/fileexchange/16129-simulink-i-o-align-tool but with the addition of from and got...

18 days ago | 2 downloads |

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

7 months ago

Solved


letter yes yes & letter no no
Split a string into two strings, wherein the first string has all alphabetic letters and the second string has all the remaining...

8 months ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

8 months ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

8 months ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

8 months ago

Answered
Custom enumerations are causing 'Potential conflicting usages of identifier' error when generating code.
From Technical Support: In MATLAB/Simulink, the Enumeration elements reside within their own class definition and are conside...

1 year ago | 1

| accepted

Question


Custom enumerations are causing 'Potential conflicting usages of identifier' error when generating code.
Hi, I have a model consisting of many models created by different authors inserted using the a ModelReference block. The M...

1 year ago | 1 answer | 0

1

answer

Question


convert an enum to another type of enum
I have an enum of for example 'Gender' (Male =0 , Female =1) and I have another enum own 'MyGender' enum (Male =0 , Female =1,...

1 year ago | 2 answers | 0

2

answers

Question


Is there a way to Run Simulations Programmatically when they contain a protected model
Im looking for a way to run simulations programmatically when they contain a protected model. I have yet to find a way to 'unpro...

1 year ago | 1 answer | 0

1

answer