MATLAB QUESTIONS & EXPERT ANSWERS

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

Illustration
Can I have more than 1 output argument from a function that I use in the MATLAB Function block in Simulink?
ginni - 2021-09-11

Can I have more than 1 output argument from a function that I use in the MATLAB Function block in Simulink? I have a user written function that has mu...

Using For loop to change array values in simulink stateflow
Achembong - 2021-09-11

Hello, my model is generally about a mobile charging station where a robot picks up a battery from the charge station and drives it a particular car, ...

How do I correct the 'Invalid root outport connection in the referenced model
Ivan - 2021-09-11

How do I correct the 'Invalid root outport connection in the referenced model 'referenced_model' error in Simulink 7.2 (R2008a)? I have a model, which...

How to know which block connected with outport block in a subsystem?
DevanujDeka - 2021-09-11

Hi all, I have outport block in a subsystem. In outside subsystem, there is block connect with this outport block. I want to get property of that outs...

Machine precision in simulink
Andy Bartlett - 2021-09-07

I am currently working on simulink model.   One of the equations is "L = qf*(XL0+(XL1*alpha_quadrant))" where "alpha_quadrant" is constantly zero. "X...

How to use App Designer helper functions as Simulink callback methods.
Vankadari - 2021-09-07

I am running a simulink model from app designer which plots the simulink output. For this I'm using Event Listener method approach.   The code I used...

How to use symbolic variables and functions (Syms) in a Simulink Matlab Function?
Rakesh - 2021-09-07

I would like to create a Symbolic function within a Simulink Matlab Function to solve the variables h and t1. Matlab produces error "The function 'sym...

How to Show modified image in MATLAB.
John_schwan - 2021-09-07

Hi, I need a method to display the modified patches of an image in MATLAB within the original image. I randomly select patches from an image, brighten...

Why do I receive a "Permission denied" error when I try to save my Simulink model files in Simulink 7.0 (R2007b)?
Kashani - 2021-09-07

When I open a Simulink model file, make some changes and then immediately try to save the file, I receive the following error:   “Error renaming my...

How to simulate an M/M/1 queuing system with exponential distribution on MATLAB 2021?
Sadatdiynov - 2021-09-07

How to simulate an M/M/1 queuing system with exponential distribution on MATLAB 2021? How to download Simulink examples if shows "The system cannot fi...

Get a Free Consultation or a Sample Assignment Review!