MATLAB QUESTIONS & EXPERT ANSWERS

Ask an expert. Trust the answer.
Your academic and career questions answered by verified experts.

Illustration
Why does my referenced model with the Embedded MATLAB block not work with frame-based signals?
chidri - 2021-09-17

I built a model which contains frame-based signals and an Embedded MATLAB block, which just runs fine. When I put some parts of my model in a subsyste...

How to get the port types and dimensions for a block
Kevin - 2021-09-17

We are generating code using RTW via a script. I am trying to collect the port dimensions and data types. Argument names would be great too, but not r...

How do I update a GUI designed in App Designer with data from a running Simulink model?
schlegel - 2021-09-17

I want to update a GUI that I have designed in App Designer using data that is generated during the simulation of a Simulink model. In other words, ho...

Why do I receive an error
tara_singh - 2021-09-15

Why do I receive an error when protecting a model reference block that contains an Embedded MATLAB block in its design in Simulink 7.6 (R2010b)? I am ...

Why am I not able to connect to LEGO MINDSTORMS EV3 from MATLAB/Simulink?
Ghazali - 2021-09-15

Why does the connection to LEGO MINDSTORMS EV3 from  MATLAB/Simulink fail?  ...

Resolving missing coverage using simulink design verifier and not by using simulink test
grans - 2021-09-14

I have a complex stateflow subsystem which has given me less coverage while using simulink coverage and simulink design verifer license. Is there any ...

Just want to display the scope's parameters for a period not from 0
hoangcao - 2021-09-14

Currently my simulation time is between 0-50s but I just want to get parameters like RMS or overshoot between 20-35s and 35s-50s. I tried changing the...

Why do the data become zero when using the function fi?
rendra_ehsa - 2021-09-14

fm = get_fimath(); idx = fi(1,0,1,0,fm); a = (idx+fi(2,0,2,0,fm))*fi(1/3,0,16,17,fm); k = fi(a,0,17,0,fm) function fm = get_fimath() fm = fimath('Roun...

How to solve this issue Variable 'X' is not fully defined on some execution paths.
Castillo - 2021-09-13

Dear All,   I have a code into a MATLABFUNCTION block of Simulink that jump out this error message "   Variable 'CONDICIONTRAMO' is not fully define...

Simulink asynchronous generator voltage input clarification
Konika - 2021-09-13

Hi there.   I've found a lot of models on simulink of DFIG's using the simscape 'asynchronous machine block'. The left side of the machine with "Tm, ...

Get a Free Consultation or a Sample Assignment Review!