Community Profile

photo

Srinivas


Toyota Motor Engineering & Manufacturing North America Inc

Aktiv seit 2011

Followers: 0   Following: 0

Kontakt

Professional Interests: Controls

Statistiken

All
  • Knowledgeable Level 3
  • First Review
  • 6 Month Streak
  • Knowledgeable Level 2
  • First Answer
  • Promoter
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
How do i import signal names from a excel database( a CAN database) for usage in Simulink simulations
did you look at _'xlsread'_ [num,txt,raw,custom] = xlsread(filename,sheet,xlRange,'',functionHandle) this should read th...

etwa 10 Jahre vor | 0

Beantwortet
How to determine a reason of the error "Segmentation violation" and to fix it
Are using Simulink Design optimization, in that case may be you are running into a negative square root in the model. Make sure ...

etwa 10 Jahre vor | 0

Beantwortet
Shut down Matlab and open new Matlab instance
something like this Curr_dir = pwd; bat_str = ['"' matlabroot '\bin\matlab.exe' '"']; fid = fopen('restart_matlab...

etwa 10 Jahre vor | 1

Beantwortet
Saving multiple figures to a named folder
function fftval(in,out) x = load(in); % or importdata or csvread or xlsread or whatever your reading function is. y =...

etwa 10 Jahre vor | 0

Beantwortet
specify Simulink block parameters from Excel cells
Yes it can be done from the work space. Declare a parameter for each sample time and define it in your work space.

etwa 10 Jahre vor | 0

| akzeptiert

Beantwortet
How can I make subplots larger?
x=1:10; y1=x.^0.5; y2=x; y3=x.^2; y4=x.^3; sp_hand1 = subplot(4,1,1); plot(x,y1); sp_hand...

etwa 10 Jahre vor | 3

Beantwortet
how to assign a microchip pic pin to a simulink input block?
This link may help <http://www.kerhuel.eu/wiki/Simulink_-_Embedded_Target_for_PIC Simulink - Embedded Target for PIC> HTH

mehr als 10 Jahre vor | 0

Beantwortet
Reading microsoft excel spreadsheets not within the 'Current Folder' directory in Matlab working environment?
you can give your full path in *xlsread* some thing like this data = xlsread('C:\Users\username\myfile.xlsx')

etwa 11 Jahre vor | 2

Beantwortet
Exporting data to excel every time a program is run
look for the _*sheet*_ and _*range*_ options in *_xlswrite_* _'I want it to write the answer to the same spreadsheet as the f...

etwa 11 Jahre vor | 0

Beantwortet
Report generation without rptgen
doc publish http://www.mathworks.com/help/matlab/ref/publish.html

etwa 11 Jahre vor | 0

Beantwortet
Copy a plot into word without loosing quality
there are a lot of file exchange submissions, one of them <http://www.mathworks.com/matlabcentral/fileexchange/3149-save2word...

mehr als 11 Jahre vor | 0

Beantwortet
how to delete a row from the matrix??
san(2,:) = []

mehr als 11 Jahre vor | 0

| akzeptiert

Beantwortet
how to remove certain characters from a string in a file
one way mystr = '32/4/5' loc = strfind(mystr,'/') mystr(loc(1):end) =[]

mehr als 11 Jahre vor | 1

Beantwortet
Is there a way to publish scripts and/or functions called by the m file being published?
_*MATLAB report generator*_ may be, I am not 100% sure if a single file _*publish*_ can be used

mehr als 11 Jahre vor | 0

Beantwortet
Matrix sorting re-size problem
a(a(:,2) ==0,:) = []

mehr als 11 Jahre vor | 0

| akzeptiert

Beantwortet
reading and writing files from open office
did u try using *xlsread* u should be able to read files. I am not sure of xlswrite edit: from the help file of *xlsread*...

mehr als 11 Jahre vor | 0

| akzeptiert

Beantwortet
Share your favorite snippet or utility
I have a lazy shortcut to open the current folder I am working in system(strcat('%SystemRoot%\explorer.exe',' "',pwd,'"'))...

mehr als 11 Jahre vor | 1

Beantwortet
Copying multiple files to a location using wildcard
As per the help document copyfile('Projects/my*','../newProjects/') so it should be copyfile([RawCSVfolder '\*.csv'...

mehr als 11 Jahre vor | 0

Beantwortet
Track changes made to model
you may want to look at <http://www.ensoftcorp.com/simdiff/>

mehr als 11 Jahre vor | 2

Beantwortet
How to solve string error in xlswrite?
what version of MATLAB are you using, looks like you are referring to this link <http://www.mathworks.com/matlabcentral/filee...

fast 12 Jahre vor | 0

| akzeptiert

Beantwortet
Is it possible to read data from .dat or .m file for an intial value of IC block in simulink?
you can assign 25 variables with the values, save them to a mat file and load it before the simulation.

fast 12 Jahre vor | 0

| akzeptiert

Gelöst


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

fast 12 Jahre vor

Gelöst


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

fast 12 Jahre vor

Gelöst


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

fast 12 Jahre vor

Gelöst


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

fast 12 Jahre vor

Gelöst


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...

fast 12 Jahre vor

Gelöst


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

fast 12 Jahre vor

Beantwortet
plotting two different graphs
help figure is this what you want

fast 12 Jahre vor | 4

| akzeptiert

Gelöst


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

fast 12 Jahre vor

Mehr laden