Risposto

Can I use Arduino and Simulink for Robotic Arm Control?

It depends if the controller you design will fit on the arduino. Fundamentally, you can squeeze a couple PID controllers on an ...

Can I use Arduino and Simulink for Robotic Arm Control?

It depends if the controller you design will fit on the arduino. Fundamentally, you can squeeze a couple PID controllers on an ...

oltre 10 anni fa | 0

Risposto

How to import time dependent matrix data in Simulink?

Check out <http://www.mathworks.com/help/simulink/ug/import-and-map-data-to-root-level-inports.html Root inport mapping>. The p...

How to import time dependent matrix data in Simulink?

Check out <http://www.mathworks.com/help/simulink/ug/import-and-map-data-to-root-level-inports.html Root inport mapping>. The p...

oltre 10 anni fa | 0

Risposto

Installation Problem LEGO MINDSTORMS NXT

Are you running MATLAB in administrator mode? There may be some privileges you need to install cygwin. I also believe you ca...

Installation Problem LEGO MINDSTORMS NXT

Are you running MATLAB in administrator mode? There may be some privileges you need to install cygwin. I also believe you ca...

quasi 11 anni fa | 0

Risposto

Is there a way to export model explorer information to Excel?

Does this <http://blogs.mathworks.com/seth/2010/10/08/model-explorer-for-data-management-and-more/ blog post about model explore...

Is there a way to export model explorer information to Excel?

Does this <http://blogs.mathworks.com/seth/2010/10/08/model-explorer-for-data-management-and-more/ blog post about model explore...

quasi 11 anni fa | 0

Risposto

Simscape integrator is not working properly

From <http://www.mathworks.com/help/physmod/simscape/ug/how-simscape-simulation-works.html this page>: Finding an Initial Ste...

Simscape integrator is not working properly

From <http://www.mathworks.com/help/physmod/simscape/ug/how-simscape-simulation-works.html this page>: Finding an Initial Ste...

quasi 11 anni fa | 0

| accettato

Risposto

User defined Simulink blocks, Hierachical design, Code Re-use...

Hi Alex, Based on the description I believe you want a library. Although that link has a lot of information, they are really...

User defined Simulink blocks, Hierachical design, Code Re-use...

Hi Alex, Based on the description I believe you want a library. Although that link has a lot of information, they are really...

quasi 11 anni fa | 0

Risposto

Simulink parameter optimization for walking algorithm

In my opinion, 20 Parameters is a significant optimization problem. I would try to narrow down the parameters required to those...

Simulink parameter optimization for walking algorithm

In my opinion, 20 Parameters is a significant optimization problem. I would try to narrow down the parameters required to those...

quasi 11 anni fa | 1

Risposto

How can I use a continuous integrator in atomic subsystem?

The error you are seeing is effectively saying you cannot have continuous blocks if you define a discrete sample time on the ato...

How can I use a continuous integrator in atomic subsystem?

The error you are seeing is effectively saying you cannot have continuous blocks if you define a discrete sample time on the ato...

quasi 11 anni fa | 1

Risposto

Making sample times visible

I may need more details, but it sounds like you could put the stateflow model inside of an <http://www.mathworks.com/help/simuli...

Making sample times visible

I may need more details, but it sounds like you could put the stateflow model inside of an <http://www.mathworks.com/help/simuli...

quasi 11 anni fa | 0

Risposto

Why isn't there a bsxfun block in Simulink?

Why doesn't the <http://www.mathworks.com/help/simulink/slref/product.html product block> work? It can perform element by eleme...

Why isn't there a bsxfun block in Simulink?

Why doesn't the <http://www.mathworks.com/help/simulink/slref/product.html product block> work? It can perform element by eleme...

quasi 11 anni fa | 1

Risolto

Find all elements less than 0 or greater than 10 and replace them with NaN

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

quasi 11 anni fa

Risolto

Triangle Numbers

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

quasi 11 anni fa

Risposto

Any -WORKING- conversion function for .mdl between Simulink versions ?

If you're having a lot of trouble with exporting to a previous version there are a couple things you can try to find the problem...

Any -WORKING- conversion function for .mdl between Simulink versions ?

If you're having a lot of trouble with exporting to a previous version there are a couple things you can try to find the problem...

quasi 11 anni fa | 0

Risposto

simmechanics_rigid transform error relating to the vector

Paste the offset vector in your workspace. It reads like L_Link is already a 3 element vector and you are concatenating two 0's...

simmechanics_rigid transform error relating to the vector

Paste the offset vector in your workspace. It reads like L_Link is already a 3 element vector and you are concatenating two 0's...

quasi 11 anni fa | 0

Risposto

Simulink: Determine time needed for simulation

You can use the <http://www.mathworks.com/help/simulink/ug/capturing-performance-data.html Simulink Profiler>

Simulink: Determine time needed for simulation

You can use the <http://www.mathworks.com/help/simulink/ug/capturing-performance-data.html Simulink Profiler>

quasi 11 anni fa | 0

Risposto

Array as input for look-up table in simulink

Have you tried the n-d lookup tables? If that doesn't work you can also try defining it as a data store. You can setup the IC ...

Array as input for look-up table in simulink

Have you tried the n-d lookup tables? If that doesn't work you can also try defining it as a data store. You can setup the IC ...

quasi 11 anni fa | 0

Risposto

Body CS in SimMechanics

Well if you change at the very start of simulation a parameter should work, where you define it in your workspace. So CS1 would...

Body CS in SimMechanics

Well if you change at the very start of simulation a parameter should work, where you define it in your workspace. So CS1 would...

quasi 11 anni fa | 1

Risposto

Help needed with Simulink model

Check out <http://blogs.mathworks.com/seth/2008/05/23/how-to-draw-odes-in-simulink/ this blog post> about modeling ODE's in Simu...

Help needed with Simulink model

Check out <http://blogs.mathworks.com/seth/2008/05/23/how-to-draw-odes-in-simulink/ this blog post> about modeling ODE's in Simu...

quasi 11 anni fa | 2

| accettato

Risposto

Add Port to SimMechanics Body Block programmatically

This is a tough one for me, but I'll try to get you started. I should mention that SimMechanics 2G is now available too. If ...

Add Port to SimMechanics Body Block programmatically

This is a tough one for me, but I'll try to get you started. I should mention that SimMechanics 2G is now available too. If ...

circa 11 anni fa | 0

Risposto

Modelling from Equations in Simulink

Check out the <http://blogs.mathworks.com/seth/2008/05/23/how-to-draw-odes-in-simulink/ modeling ODEs in Simulink> blog post. O...

Modelling from Equations in Simulink

Check out the <http://blogs.mathworks.com/seth/2008/05/23/how-to-draw-odes-in-simulink/ modeling ODEs in Simulink> blog post. O...

circa 11 anni fa | 1

Risposto

How to search .slx files (or convert them to text)

First, I would recommend finding a way to do this without using the actual text. That being said, you can open up a .slx file wi...

How to search .slx files (or convert them to text)

First, I would recommend finding a way to do this without using the actual text. That being said, you can open up a .slx file wi...

circa 11 anni fa | 0

Risposto

can i convert the existing c code to simulink model or i have to forget about the code rebuild a model for the logic?

You can do this with <http://www.mathworks.com/help/simulink/sfg/s-function-examples.html s-functions>. If you run into trouble...

can i convert the existing c code to simulink model or i have to forget about the code rebuild a model for the logic?

You can do this with <http://www.mathworks.com/help/simulink/sfg/s-function-examples.html s-functions>. If you run into trouble...

circa 11 anni fa | 1

Risposto

How to stop a program after a given time input?

Try the <http://www.mathworks.com/help/matlab/ref/timer.html timer object> using a single shot execution mode.

How to stop a program after a given time input?

Try the <http://www.mathworks.com/help/matlab/ref/timer.html timer object> using a single shot execution mode.

circa 11 anni fa | 0

Risposto

Running model callbacks in model workspace

I don't believe you can change the default behavior here. How much extra work is using the evalin function? Are you calling a ...

Running model callbacks in model workspace

I don't believe you can change the default behavior here. How much extra work is using the evalin function? Are you calling a ...

circa 11 anni fa | 0

Risposto

How to create custom blocks in Simulink for Arduino

This was just posted on the <http://blogs.mathworks.com/seth/2013/04/12/creating-driver-blocks-for-arduino-lego-and-other-target...

How to create custom blocks in Simulink for Arduino

This was just posted on the <http://blogs.mathworks.com/seth/2013/04/12/creating-driver-blocks-for-arduino-lego-and-other-target...

circa 11 anni fa | 0

Risposto

How to get from continuous time to discrete?

1/z and 1/s are NOT equivalent. 1/s is an integration while 1/z is a delay, totally different. You can use the <http://www.mat...

How to get from continuous time to discrete?

1/z and 1/s are NOT equivalent. 1/s is an integration while 1/z is a delay, totally different. You can use the <http://www.mat...

circa 11 anni fa | 0

Risposto

What does error: "The selected subsystem exposes Simscape connection ports, which model reference does not support." means

The error is fairly self explaining, so I will try to clear it up as best I can. Short answer: Simscape ports (they look like...

What does error: "The selected subsystem exposes Simscape connection ports, which model reference does not support." means

The error is fairly self explaining, so I will try to clear it up as best I can. Short answer: Simscape ports (they look like...

circa 11 anni fa | 1

Risposto

Simulink - SimEvents - how to design a simulation and how to remember variables - a beginner asks for help&hints

1) What do you mean by multiplying and connecting? Do you mean copying to create multiple nodes, like with a library? 2) <ht...

Simulink - SimEvents - how to design a simulation and how to remember variables - a beginner asks for help&hints

1) What do you mean by multiplying and connecting? Do you mean copying to create multiple nodes, like with a library? 2) <ht...

circa 11 anni fa | 0

| accettato

Risposto

Are there other timer predicates than after() and before() in Simulink finite state machines?

EDIT: I just realized you can get the simulation time from within stateflow. You can grab the simulation time when you enter th...

Are there other timer predicates than after() and before() in Simulink finite state machines?

EDIT: I just realized you can get the simulation time from within stateflow. You can grab the simulation time when you enter th...

circa 11 anni fa | 0

| accettato

Risposto

Program Beagleboard-xM DSP with Simulink

Beagleboard support will not supply you with generated code that you can read. It is designed so that the code is compiled for ...

Program Beagleboard-xM DSP with Simulink

Beagleboard support will not supply you with generated code that you can read. It is designed so that the code is compiled for ...

circa 11 anni fa | 0