Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to compile all parameters into one .mat file using matlab code???

Status
Not open for further replies.

darlling5147

Member level 3
Joined
Jun 28, 2006
Messages
55
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,632
I am trying to write a matlab code to save all my parameters into one .mat file.

My parametera, for example:
a = 2
b = 1
c = 1.3
d = 99

Q1: I tried to use fwrite, but have no idea how to do continue.

fid = fopen('parameter.mat', 'wb'); <----create .mat file to be written
fwrite(fid, ??????, 'integer'); <---------what should I put in the ??? space

Q2: how I continue to write the rest of the parameters and save all into one parameter.mat file???

Please help, I sincerely wanted to learn it and write it myself.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top