photo

Stephen


UC San Diego

Actif depuis 2011

Followers: 0   Following: 0

Message

Statistiques

  • 3 Month Streak

Afficher les badges

Feeds

Afficher par

Réponse apportée
Debuging continuous states in a discrete simulation
ode45 worked -- thanks.

environ 13 ans il y a | 0

Question


Simulation freezes
I'm not simulating a large model, but am using Apple Lion. Any thoughts why I often have to force start Matlab and restart.

environ 13 ans il y a | 1 réponse | 0

1

réponse

Question


Debuging continuous states in a discrete simulation
My simulation fails because The "VariableStepDiscrete" solver cannot be used to simulate block diagram 'Model_Name because it c...

environ 13 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
Get simulation time in a Simulink model
Another method is to set the sample time to one second in the subsystem paramaters dialog for the MATLAB Fnc subsystem block.

plus de 13 ans il y a | 1

Question


Get simulation time in a Simulink model
How do I get the simulation time for a Simulink model? I have a Simulink model that includes a MATLAB fnc block. But I want ...

plus de 13 ans il y a | 3 réponses | 0

3

réponses

Question


Mac windows don't are different from Windows windows
How do I get the same window features on a Mac that I get on a Windows box. For example, I would like to see the status field...

plus de 13 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Simple fnc model has error message about || and && operators
Thanks, Kaustubha. I tried your suggestion (dbstop if all error) and got the following error message: Error using ==> g...

plus de 13 ans il y a | 0

Question


Simple fnc model has error message about || and && operators
I get the following error message when I update a model "Operands to the '||' and && operators must be convertible to logical...

plus de 13 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
Sample time setting for high frequency systems
Thanks, Should the sample time for all elements in the system be set to the 0.5 usec (the number in the above post) or just t...

plus de 13 ans il y a | 0

Question


Sample time setting for high frequency systems
What sample time should I use when simulating a system operating at 100 kHz? It seems to me that the typical 0.2 seconds woul...

plus de 13 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
MATLAB fnc to control PWM generator
I got it working... it was a scale problem. Instead of duty cycle = 0 to 1, my MATLAB fnc was outputtng duty cycle = 0 to 100....

plus de 13 ans il y a | 0

Question


MATLAB fnc to control PWM generator
How can I use a duty cycle result from a MATLAB fnc to control the duty cycle of a PWM generator, using Simulink.

plus de 13 ans il y a | 3 réponses | 0

3

réponses

Réponse apportée
Check for missing object in workspace
Thanks, but the exists function returns an error if the object does not exist. The help documentation says it should return a z...

plus de 13 ans il y a | 0

Question


Check for missing object in workspace
In a script, how do I check to see whether an object (array) exists before I try to operate on it. Something like: if object...

plus de 13 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
Subsystem using SimScape components
Thanks, I will not use a For Each Subsystem. I was trying to automate the running of multiple simulations as one parameter is...

plus de 13 ans il y a | 0

Question


Subsystem using SimScape components
I am running a For Each Subsystem It uses Simscape components. I get the error msg saying the EXEC_BBLOCK has a discrete sam...

plus de 13 ans il y a | 2 réponses | 0

2

réponses

Question


SS_OPTION_ALLOW_PORT_SAMPLE_TIME_IN_TRIGSS
I'm using a For Each Subsystem and when I run the simulator it highlights a Simulink to Physical System Converter and reports th...

plus de 13 ans il y a | 1 réponse | 0

0

réponse

Réponse apportée
Populating a 3D lookup table
Thanks Richard, I will watch your webinar

plus de 13 ans il y a | 0

Réponse apportée
Populating a 3D lookup table
I decided just to create a function. I used SFTools to curve fit the data and SFTool was able to provide a function that fitted...

plus de 13 ans il y a | 0

Réponse apportée
Populating a 3D lookup table
Thanks. I'm sure your suggestion would work with a Matlab script, but I'm trying to use a Simulink lookup table.

plus de 13 ans il y a | 0

Question


Populating a 3D lookup table
I have a simple 3x512 array (x,y,z) in an ascii table file that is located in a directory. I want to create Simulink lookup t...

plus de 13 ans il y a | 5 réponses | 0

5

réponses

Réponse apportée
XY graph don't plot
You were right, Arnaud. I played around with the different settings of the X and Y axis scale and it finally worked. I was n...

plus de 13 ans il y a | 0

Réponse apportée
XY graph don't plot
Thanks, But I did set the min and max values for the X and y axis, to agree with the min and max vlaues I set for the scope t...

plus de 13 ans il y a | 0

Question


XY graph don't plot
I have two signals. They are connected to a scope and XY graph in parallel. They display on the scope but do not display on th...

plus de 13 ans il y a | 3 réponses | 0

3

réponses

Réponse apportée
Add model to another model
I found the first approach mentioned in Rick's email in the demo "Creating Libraries" Thanks, Rick

plus de 13 ans il y a | 0

Question


Add model to another model
I guess this is the inverse of masking. I created a model file. I see this model in the model explorer. How do I add that mod...

plus de 13 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
Connecting simElectronic blocks -- get red dotted line
Thanks Kaustubha. However, the "Interfacing the Electrical Circuit with Other Simulink Blocks" section (that you referenced i...

plus de 13 ans il y a | 0

Question


Connecting simElectronic blocks -- get red dotted line
Let me say up front - I'm a newbie. When I connect many components in my circuit (e.g. resistor), instead of a solid black li...

plus de 13 ans il y a | 6 réponses | 0

6

réponses