Answered

open another software using MATLAB

If you can figure out how to launch VPN from the Windows or Linux command line (try reading the VPN documentation or doing a Goo...

open another software using MATLAB

If you can figure out how to launch VPN from the Windows or Linux command line (try reading the VPN documentation or doing a Goo...

9 years ago | 0

Question

Would you benefit from a Matlab/Simulink user group?

I don't believe that Mathworks actively encourages in-person user groups where local Matlab/Simulink users get together to infor...

9 years ago | 1 answer | 0

Question

Resize figure window to reduce whitespace?

I have a script that automatically generates reports using <http://www.mathworks.com/matlabcentral/fileexchange/17953-wordreport...

9 years ago | 1 answer | 0

Answered

How do I run a simulation with a transfer function block and a multi dimensional input ?

Would it be possible to make one input time series which has all the desired sine waves concatenated into 1 series, and then jus...

How do I run a simulation with a transfer function block and a multi dimensional input ?

Would it be possible to make one input time series which has all the desired sine waves concatenated into 1 series, and then jus...

9 years ago | 0

Question

Spaces for readability in code

Which of following lines of code do you think is more readable: plot(rand(1,1,1)+17/2,'r*');%No spaces plot(rand(1, 1, 1...

10 years ago | 4 answers | 4

Answered

systematic: Do not use global, don't use eval

If you migrate from Matlab to Simulink, you will find that the community and documentation uses globals fairly widely. It was a ...

systematic: Do not use global, don't use eval

If you migrate from Matlab to Simulink, you will find that the community and documentation uses globals fairly widely. It was a ...

10 years ago | 0

Question

Force Matlab figure to lie above all other desktop windows

I am creating avi videos using VideoWriter, and am having a problem with the image captured in the videos. I intend the videos t...

10 years ago | 1 answer | 1

Answered

How can I implement conditional compilation logic in simulink and stateflow?

Simulink allows <http://www.mathworks.com/help/simulink/conditional-subsystems-1.html Conditional Subsystems> which are block gr...

How can I implement conditional compilation logic in simulink and stateflow?

Simulink allows <http://www.mathworks.com/help/simulink/conditional-subsystems-1.html Conditional Subsystems> which are block gr...

10 years ago | 0

Answered

Simulink model very slow when integrates

I agree with Ryan on the cause and possible steps. In case it is helpful, here are some general links on speeding up model execu...

Simulink model very slow when integrates

I agree with Ryan on the cause and possible steps. In case it is helpful, here are some general links on speeding up model execu...

10 years ago | 0

Answered

Experiences with release 2012b

At first glance, the Simulink changes are nice, especially being able to comment out blocks (Matlab users - can you believe this...

Experiences with release 2012b

At first glance, the Simulink changes are nice, especially being able to comment out blocks (Matlab users - can you believe this...

10 years ago | 1

Question

How to run a function which is not on the path?

I would like to run a function which is not on MATLAB's path. Formerly I did this with <http://www.mathworks.com/matlabcentral/f...

10 years ago | 1 answer | 0

Question

Problems obtaining the correct number of frames in video file

I am having trouble using VideoReader to determine the correct number of frames in a video file, videoObj = VideoReader('2_...

10 years ago | 1 answer | 0

Question

Advice on VideoReader including missing codec

I have some mpeg videos that I would like to scroll through, and export/crop individual frames for inclusion in a report. I do n...

10 years ago | 1 answer | 0

Answered

Why all the plots from my program originate from (0,0).

If your question is "how do I change the display on my scope", <http://blogs.mathworks.com/seth/2011/09/14/how-to-customize-the-...

Why all the plots from my program originate from (0,0).

If your question is "how do I change the display on my scope", <http://blogs.mathworks.com/seth/2011/09/14/how-to-customize-the-...

10 years ago | 0

Question

Could machine reboot cause loss of Matlab path?

I use <http://www.mathworks.com/help/matlab/ref/savepath.html;jsessionid=bbc30a1bae93e38c4cf15d762534 savepath> to save my MATLA...

10 years ago | 1 answer | 0

Answered

Track changes made to model

<http://www.mathworks.com/help/simulink/ug/managing-model-versions.html Here> are Mathwork's suggestions on managing model versi...

Track changes made to model

<http://www.mathworks.com/help/simulink/ug/managing-model-versions.html Here> are Mathwork's suggestions on managing model versi...

10 years ago | 2

Question

How to create a cell of strings from a vector?

I have the vector x = [ 10.027 20.35 50.1 100.002 ] which I would like to convert to the cell x = { '10', '20', ...

10 years ago | 3 answers | 0

Answered

Licensing and memory usage on multi-core system

You can launch many separate instances of Matlab/Simulink on one computer without needing more than 1 license. I do this all the...

Licensing and memory usage on multi-core system

You can launch many separate instances of Matlab/Simulink on one computer without needing more than 1 license. I do this all the...

10 years ago | 0

Answered

Chop vectors in between a specific time range?

I think you are running a Simulink model and outputting values for your entire 10-second simulation using the To Workspace block...

Chop vectors in between a specific time range?

I think you are running a Simulink model and outputting values for your entire 10-second simulation using the To Workspace block...

10 years ago | 0

| accepted

Answered

Initial conditions fail to converge in simscape simulation?

I don't think it's the main issue, but just in case I will point out that <http://www.mathworks.com.au/matlabcentral/newsreader/...

Initial conditions fail to converge in simscape simulation?

I don't think it's the main issue, but just in case I will point out that <http://www.mathworks.com.au/matlabcentral/newsreader/...

10 years ago | 0

Answered

'Find & Replace' ignores quoted strings

This is due to checking the Whole Word box. The problem disappeared when it was unchecked. I hope this spares someone else a sil...

'Find & Replace' ignores quoted strings

This is due to checking the Whole Word box. The problem disappeared when it was unchecked. I hope this spares someone else a sil...

10 years ago | 0

| accepted

Question

'Find & Replace' ignores quoted strings

I am having a problem with the editor's 'Find & Replace' tool. I have a mfile containing containing quoted strings like l...

10 years ago | 1 answer | 0

Question

Why are pie charts in multiple subplots black?

I have a program that generates many pie charts, each within its own subplot. Oddly, after I apply a legend or resize the figure...

10 years ago | 1 answer | 0

Question

List all variables in a mfile

*Is there a way to list all the variables used by a mfile*? Here is the scenario: I am editing a legacy function which takes in ...

10 years ago | 3 answers | 0

Question

Extract numbers from mixed string

I have a file containing header lines like the following, Test setup: MaxDistance = 60 m, Rate = 1.000, Permitted Error = 5...

10 years ago | 6 answers | 1

Question

Simulink training class 'Simulink for System and Algorithm Modeling'

If you have taken Mathworks' training course <http://www.mathworks.com/services/training/elearning/courses/SLBE_3.html Simulink ...

10 years ago | 0 answers | 0

Answered

Synchronizing 2 Simulink Models on 2 different machines via UDP

A workaround to your original problem might be to run your Simulink model with the <http://blogs.mathworks.com/seth/2010/10/17/p...

Synchronizing 2 Simulink Models on 2 different machines via UDP

A workaround to your original problem might be to run your Simulink model with the <http://blogs.mathworks.com/seth/2010/10/17/p...

10 years ago | 0

Answered

What is missing from MATLAB?

I wish that when I use cell execution (CTRL-Enter from within a cell), the cell's commands would appear in the History and could...

What is missing from MATLAB?

I wish that when I use cell execution (CTRL-Enter from within a cell), the cell's commands would appear in the History and could...

10 years ago | 2

Solved

Remove any row in which a NaN appears

Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

10 years ago

Solved

Make a checkerboard matrix

Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

10 years ago