rwong1231

30 Reputation

5 Badges

10 years, 60 days

MaplePrimes Activity


These are replies submitted by rwong1231

Thanks!

Yeah, I'm gonna explore that route...its also been suggested to export the inertial coordinates of my MapleSim model as a CSV file and feed it into Zemax directly. Then import and crunch the data in Matlab. Its a quick and dirty work around.

Thanks!

Yeah, I'm gonna explore that route...its also been suggested to export the inertial coordinates of my MapleSim model as a CSV file and feed it into Zemax directly. Then import and crunch the data in Matlab. Its a quick and dirty work around.

@Joe Riel 

Hi Joe,

Yeah, I changed it to 10 after the first test run with just the Time Lookup Table.

my bad...I should've replied/updated back to the forum.

Cheers,

Ron.

@Joe Riel 

Hi Joe,

Yeah, I changed it to 10 after the first test run with just the Time Lookup Table.

my bad...I should've replied/updated back to the forum.

Cheers,

Ron.

Awesomeness...thank you Joe! :)

Running my simulations...looking forward to my new results...

I've been running maplescript-based loops up till now (one simulation, update variable, run simulation, etc...).

This is much more straightforward!

Cheers!

Awesomeness...thank you Joe! :)

Running my simulations...looking forward to my new results...

I've been running maplescript-based loops up till now (one simulation, update variable, run simulation, etc...).

This is much more straightforward!

Cheers!

Hi Graham,

Thanks! I'll give that a whirl and see how it goes...

Cheers,

Ron.

Hi Graham,

Thanks! I'll give that a whirl and see how it goes...

Cheers,

Ron.

Thank you so much Acer! I followed your format and did a simple routine via the RLCcircuit.msim file. 

Cheers,

Ron.

 

My test routine:

A:= MapleSim:-LinkModel('filename' = cat(kernelopts('toolboxdir' = MapleSim), kernelopts('dirsep'), "data/examples/RLCcircuit.msim"))

for x from 1 to 10 do

     A:-SetSubstitutions({`Main.'RLC::C'` = x}),

     arrayofresults := A:-Simulate(output = datapoint, returnTimeData = true)

     ExportMatrix(cat("matlabresults_", convert(x, string), ".xls"), Matrix(arrayofresults))

end do

Thank you so much Acer! I followed your format and did a simple routine via the RLCcircuit.msim file. 

Cheers,

Ron.

 

My test routine:

A:= MapleSim:-LinkModel('filename' = cat(kernelopts('toolboxdir' = MapleSim), kernelopts('dirsep'), "data/examples/RLCcircuit.msim"))

for x from 1 to 10 do

     A:-SetSubstitutions({`Main.'RLC::C'` = x}),

     arrayofresults := A:-Simulate(output = datapoint, returnTimeData = true)

     ExportMatrix(cat("matlabresults_", convert(x, string), ".xls"), Matrix(arrayofresults))

end do

Hi Acer,

Thank you so much for your feedback. I will give that a try.

Cheers.

Hi Acer,

Thank you so much for your feedback. I will give that a try.

Cheers.

Page 1 of 1