photo

Roy Hauge


Høyskolen i buskerud og vestfold

Active since 2015

Followers: 0   Following: 0

Message

Statistics

Feeds

View by

Answered
How do i make a switching function?
Syntax error replaced , with && in if statement. function y = Switch(SOC,Input,Launch,Charge,A) %#codegen y = A; ...

mer än 9 år ago | 0

Question


How do i make a switching function?
I am trying to make a switching function for a simulink function block. Currently and faulty: function y = Switch(SOC,Inp...

mer än 9 år ago | 1 answer | 0

1

answer

Question


How do i write to the base workspace in simulink?
I currently have: BatteryParams = struct(); for idx = 1:numCells %% Lookup Table Breakpoints Batte...

mer än 9 år ago | 1 answer | 0

1

answer

Question


Compiling .dll simulink model with lookup.m matlab code. Does it compile with the lookup.m file ??
I am currently building a model for testing some response between engines with energy storage and this model will be compiled in...

mer än 9 år ago | 0 answers | 0

0

answers

Question


How to write a double or three number array to a .m file and then retrieve it again?
I am currently working on a simulator and i need to be able to change an array like the one shown. =[80.0081 79.6250 79.63...

mer än 9 år ago | 1 answer | 0

1

answer