photo

Hannah


Last seen: 2 years ago Active since 2021

Followers: 0   Following: 0

Spoken Languages:
English

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Error on Simulink when I try to simulate file
Hello, I want to simulate the power-V2G file on simulink but I keep getting the error "Unable to write to Simulink cache file ...

2 years ago | 1 answer | 1

1

answer

Question


How to make a colourful interactive GUI spectrum slider?
Hello, I want to make a colorful spectrum where the user can use a slider to control the input value. Input values go from 20 to...

3 years ago | 1 answer | 0

1

answer

Question


How to assign strings and numbers to elements of the same matrix?
I want to write the word "average" in the 5 element, first row on my matrix and I want to write numbers 1 to 3 into the second ...

3 years ago | 2 answers | 0

2

answers

Question


How to write data into an excel file but keep the original formatting?
How can I write values into my excel file without changing the formatting that already exists. specifically I want to keep the c...

3 years ago | 1 answer | 0

1

answer

Question


How to request a specific user input?
I want to ask the user if they want to EXP1 or EXP2. If the user enters '1' or '2', then I want to display "running exp 1 or 2"...

3 years ago | 4 answers | 0

4

answers

Question


Why do I have an error saying "Invalid file identifier"?
Hello, I have an error saying: Error using fprintf Invalid file identifier. Use fopen to generate a valid file identifier. ...

3 years ago | 1 answer | 0

1

answer

Question


How to do matrix Preallocation?
I have a matrix called 'ResultMtx'. its size is size(ResultMtx) ans = 792 5 I try to do Preallocation of the matrix b...

3 years ago | 1 answer | 0

1

answer

Question


How to divide results into 3 columns?
I have generated the following excel file using Matlab (see file attached). As you can see, I have 72 different records, separat...

3 years ago | 1 answer | 0

1

answer

Question


How to label columns in matrix?
How can I give the columns contaning values for m, o, r ,t and Diff_irr a label? ResultMtx = []; for m=1:length(mont...

3 years ago | 1 answer | 0

1

answer

Question


Why do I get the error 'Ensure the file is a valid spreadsheet file and is not password protected.'?
I want to create an excel file called 'Results' in the same directory as my matlab file. This is the code I wrote so far: Resul...

3 years ago | 1 answer | 0

1

answer

Question


what does a = T(m:m, 'label'); mean?
For each iteration, shown in the code below, I want to read the specified file starting from line 12; from line 12, I want to re...

3 years ago | 1 answer | 0

1

answer

Question


Why do I have an Error using readtable?
Does anyone know why I get the following error when running my code (shown below): Reading failed at line 26. All lines of a te...

3 years ago | 1 answer | 0

1

answer

Question


How to write the output of program as a table on excel?
How can I write the output of this code onto excel so that for a given a mon, o and r, I will have a table of tilt vs irr. speci...

3 years ago | 1 answer | 0

1

answer

Question


How to create column headers?
I have the following code: months=1:12; orientation = [0, -90]; row = 1:3; tilt = [0,10,20,30,40,50,60,70,80,90]; irr = [1...

3 years ago | 2 answers | 0

2

answers

Question


How to close any file without saving it?
Hello, I want to know what is the command for closing a particular type of file without any requist to save it. i.e. I want t...

3 years ago | 1 answer | 0

1

answer

Question


What does a=[b(90:end) b(1:89)] represent ?
See code section below: temp1= hor(tilt(t), h, d1, d2,col5, a_z); %call function temp2=[temp1(90:end) temp1(1:89)]; hor_Mxt...

3 years ago | 2 answers | 0

2

answers

Question


Why do I get an error when I try to write data into file?
I want to write "Formattyp = 1" into my file Batch.csv. This is the section of my code: myBatchName = '\\\\data-be\\data-t...

3 years ago | 1 answer | 0

1

answer

Question


How to read two columns from a text file that does not only consist of a table?
I have a text file (see attachment) that I want to import into MATLAB. How can I only read/ store the columns 'month' and 'H-Gh'...

3 years ago | 1 answer | 0

1

answer