Community Profile

photo

Hannah


Last seen: etwa 2 Jahre vor Aktiv seit 2021

Spoken Languages:
English

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


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

etwa 2 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort